-
Notifications
You must be signed in to change notification settings - Fork 349
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
Correctly resolve nullability from openapi #2627
Comments
In GraphQL, we don't have But if I'll try to create a PR for it. |
When I check the code, it seems to be available in the latest version. Closing this issue for now. Please let us know if it doesn't work as expected on your end. |
Currently when using OpenAPI handler nullability in the schema is resolved based on open api spec field
required
but it should be based on fieldnullable
. More detailed discussion in openapi-to-graphql repo IBM/openapi-to-graphql#359Difference:
required
=> field needs to be therenullable
=> field can have a value of nullThe text was updated successfully, but these errors were encountered: