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

Should now include the whole response when GraphQL returns something other than 200 #29

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mourasman
Copy link

Hey guys,

I've been using your lib recently and I've had the need to enhance the Error that is thrown when a GraphQL request returns something other than a 200. Previously, it was only throwing an Error with a generic message, but for testing purposes I needed it to include the whole response, as well, so that I could validate our application's error handling. I believe this may be a useful addition to this project, hence this PR.

If you think this is useful, feel free to merge it.

Cheers,
Mourasman

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

Successfully merging this pull request may close these issues.

None yet

1 participant