We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Passing null values to arguments (or variables) aren't handled properly.
SDL example:
type Query { hello(name: String = "Unknown"): String bye(name: String! = "Unknown"): String }
Python:
@Resolver("Query.hello") async def resolve_query_hello(parent, args, ctx, info): return args.get("name") @Resolver("Query.bye") async def resolve_query_bye(parent, args, ctx, info): return args.get("name")
Query:
query { hello(name: null) } == { "data": { "hello": "Unknown" } } != { "data": { "hello": null } }
The text was updated successfully, but these errors were encountered:
Maximilien-R
Successfully merging a pull request may close this issue.
Passing null values to arguments (or variables) aren't handled properly.
SDL example:
Python:
Query:
The text was updated successfully, but these errors were encountered: