Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Bring graphene v3 compatibility #148

Conversation

fabienheureux
Copy link
Collaborator

@fabienheureux fabienheureux commented Aug 6, 2020

A few updates in order to bring basic graphene v3 compatibility.
This obviously need a bit of review / testing.

Related graphql-python/graphene-django#705

The tests are currently broken, I guess because directives are broken as well. They use promises, for which support has been dropped in graphql core v3.

@fabienheureux fabienheureux changed the title Feature/graphene v3 compatibility [WIP] Bring graphene v3 compatibility Aug 6, 2020
@fabienheureux
Copy link
Collaborator Author

@eamigo86 do you think you could give me a hand on this one ?

@fabienheureux fabienheureux force-pushed the feature/graphene-v3-compatibility branch from 7fa065c to 492cf54 Compare August 7, 2020 15:43

@classmethod
def save(cls, serialized_obj, root, info, **kwargs):
"""
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I honestly don't know why the whole file was rewritten. I tried both in vim and vscode, and in both the diff showed a full rewrite.

Interesting part below, explained in the comment.
Maybe there is a better place to check for Enum in values @eamigo86 ?

@fabienheureux fabienheureux force-pushed the feature/graphene-v3-compatibility branch from 492cf54 to 4bf606a Compare August 15, 2020 08:56
@MAndersenNano MAndersenNano changed the base branch from master to graphenev3 March 19, 2021 11:18
@MAndersenNano MAndersenNano reopened this Mar 19, 2021
Base automatically changed from graphenev3 to graphene-v3 March 19, 2021 15:11
@ldynia ldynia changed the base branch from graphene-v3 to graphene-v2 March 19, 2021 15:37
@ldynia ldynia changed the base branch from graphene-v2 to graphene-v3 March 19, 2021 15:38
@ldynia ldynia closed this Mar 19, 2021
@ldynia ldynia reopened this Mar 19, 2021
@fabienheureux
Copy link
Collaborator Author

fabienheureux commented Mar 19, 2021

@ldynia @MAndersenNano are you the new maintainers of this project ?
Really thought it was dead 👍

@MAndersenNano MAndersenNano reopened this Mar 22, 2021
@MAndersenNano MAndersenNano merged commit 1214492 into eamigo86:graphene-v3 Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants