Replies: 1 comment
-
Did you ever find a solution to this? I'm struggling with the same thing sending a mutation to an api |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm using your library to query CloudFlare's GraphQL Analytics API. There, if a request if successful,
errors: null
is returned in the response, you can see an example on this page https://developers.cloudflare.com/analytics/graphql-api/getting-started/querying-basics/The library automatically throws an error:
Error: Invalid execution result: errors is not plain object OR array
Is there a way to disable this behavior or go around it somehow? I thought I can use a response middleware to remove the
error
property in case it'snull
but the error is thrown before the middleware is called.Beta Was this translation helpful? Give feedback.
All reactions