GraphQL Responses Treat [] as Having Errors #108
thecodedrift
announced in
TIL
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From the GraphQL Specification
That means a response of
Will be considered an error by clients and will fail an otherwise successful response. You'll either need to delete the key from the object or exclude it with clever use of the spread
...
operator.Beta Was this translation helpful? Give feedback.
All reactions