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
@graphql-codegen/java
Reading in arguments with generated types crashes due to enum arguments lacking null validation.
https://stackblitz.com/edit/github-val3pw
Creating a new instance of query arguments should not crash if some field is not defined in the arguments provided in an incoming query.
No response
graphql
The code crashes because it tries to call enum's valueOf method with a null value.
valueOf
The text was updated successfully, but these errors were encountered:
released @graphql-codegen/java@4.0.1
Sorry, something went wrong.
Thanks for the really fast review @saihaj !
No branches or pull requests
Which packages are impacted by your issue?
@graphql-codegen/java
Describe the bug
Reading in arguments with generated types crashes due to enum arguments lacking null validation.
Your Example Website or App
https://stackblitz.com/edit/github-val3pw
Steps to Reproduce the Bug or Issue
Expected behavior
Creating a new instance of query arguments should not crash if some field is not defined in the arguments provided in an incoming query.
Screenshots or Videos
No response
Platform
graphql
version: 16.8.1@graphql-codegen/java
version(s): 4.0.0Codegen Config File
No response
Additional context
The code crashes because it tries to call enum's
valueOf
method with a null value.The text was updated successfully, but these errors were encountered: