Skip to content

Sets default_value for argument to Undefined instead of None#1399

Closed
stabacco wants to merge 1 commit into
graphql-python:masterfrom
stabacco:default-argument-undefined
Closed

Sets default_value for argument to Undefined instead of None#1399
stabacco wants to merge 1 commit into
graphql-python:masterfrom
stabacco:default-argument-undefined

Conversation

@stabacco
Copy link
Copy Markdown

@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
Copy Markdown

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

@stabacco
Copy link
Copy Markdown
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