-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid execution result: data is not plain object #739
Comments
I tried with both: const client = new GraphQLClient("/graphql", {
errorPolicy: "all",
}); and with the default value. |
With |
What is the stack trace? If that response shape is leading to that thrown error then a repro should be easy here, (e.g. a middleware that forces that mocks that response). Is the issue happening in Node or just browser? |
Do you mean this?
I'm using it in the browser. Sorry I cannot create a complete reproduction right now: I don't have time and I don't know how to start... |
Thanks @frederikhors, should be fixed now. |
It works now (v33)! Thanks! |
Today I upgraded from
"graphql-request": "7.0.0-next.12"
to"graphql-request": "7.0.0-next.30"
and now when my backend is returning something like:I get in the browser the error:
Invalid execution result: data is not plain object
.Why?
The text was updated successfully, but these errors were encountered: