Skip to content
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

Mutation return null #369

Closed
a-aslani-dev opened this issue Jul 31, 2019 · 2 comments
Closed

Mutation return null #369

a-aslani-dev opened this issue Jul 31, 2019 · 2 comments

Comments

@a-aslani-dev
Copy link

Describe the bug
my query working and data from back-end changed but resultData in onComplete and result.errors in update return null! also result.hasError is true however i have not any error in server log

Screenshots
Query Screenshot

Mutation Screenshot

Logs Screenshot

version of package:

  • graphql_flutter: 2.0.0
  • graphql: 2.0.0
@mainawycliffe
Copy link
Collaborator

Have you tried logging errors object or inspect it to see if ts an empty object?

@micimize
Copy link
Collaborator

micimize commented Aug 5, 2019

The error is that your client is misconfigured, and thus is failing to reach the the server: #212

This should have it's own, intelligible error - sorry for the confusion

@micimize micimize closed this as completed Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants