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
GraphQL allows the lookup of any field to fail, regardless of whether that field is nullable. If the field is nullable then it will be set to null. If not, then the null will bubble up to the first nullable parent. Any associated errors will be stored in the root list of errors, ideally with a path that specifies where the error occurred.
Since the optional invariants in the schema hold true, then cynic should be able to parse the data. However, it might be nice to support Result field types that can somehow extract the error from the root errors and move it onto the actual field that errors.
The text was updated successfully, but these errors were encountered:
GraphQL allows the lookup of any field to fail, regardless of whether that field is nullable. If the field is nullable then it will be set to
null
. If not, then thenull
will bubble up to the first nullable parent. Any associated errors will be stored in the root list of errors, ideally with apath
that specifies where the error occurred.Since the optional invariants in the schema hold true, then cynic should be able to parse the data. However, it might be nice to support
Result
field types that can somehow extract the error from the rooterrors
and move it onto the actual field that errors.The text was updated successfully, but these errors were encountered: