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 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's null but the error is thrown before the middleware is called.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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