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

Sets default_value for argument to Undefined instead of None #1399

Closed

Conversation

stabacco
Copy link

@stabacco stabacco commented Jan 6, 2022

fixes #1398 .
The tests' asserts are now matching the v2 ones, which I believe match the expected behaviour described here:

https://docs.graphene-python.org/en/latest/types/objecttypes/#graphql-argument-defaults

@lovetoburnswhen
Copy link

Gah such a small change and yet this bug continues to make graphene unusable

@stabacco
Copy link
Author

Closing, was fixed in #1412

@stabacco stabacco closed this Apr 10, 2022
@stabacco stabacco deleted the default-argument-undefined branch April 10, 2022 23:26
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.

Undefined arguments always passed to resolvers
2 participants