-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
GraphQL does not throw mutation errors #439
Comments
The field used to check for errors is Lines 236 to 246 in c949c7d
|
@lpinca I see that. According to all the Shopify docs I have seen. Mutation queries will have any error in the field Some example doc references: |
Feel free to open a PR. |
When doing a mutation
shopify.graphql(mutationQuery)
where the query is a mutation such as:Errors are returned in the userErrors field. However the request promise resolves successfully. I was expecting the error to be thrown as it is done for normal queries.
The text was updated successfully, but these errors were encountered: