You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Kalanamith
changed the title
GraphQL Mutation how to make fields optional to update required fields only by selection and generate schema
GraphQL Mutation how to make fields optional to update fields only by selection and generate schema
Feb 1, 2023
Make the fields on PartRequest nullable, this makes them optional. Optionality and nullability are effectively equivalent in GraphQL inputs currently (with the exception of where default values are present).
I have a graphql mutation defined as follows
and the requirement was to update fields upon selection like
Update by selection , parts only
How to construct a schema to achieve this ?
The text was updated successfully, but these errors were encountered: