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

Make GraphQLError.message publicly accessible #31

Merged
merged 1 commit into from
Dec 9, 2016

Conversation

timbotnik
Copy link
Contributor

@martijnwalraven - I assume this would need to be public in order to access the message returned inside the GraphQLError?

@martijnwalraven martijnwalraven merged commit ec52f72 into master Dec 9, 2016
@martijnwalraven
Copy link
Contributor

@timbotnik: Good catch!

@benrom
Copy link

benrom commented Jan 19, 2017

This is an important fix, without that it's not possible to access error messages...

Any idea when a release containing this fix will be available?

@martijnwalraven
Copy link
Contributor

@benrom: I was waiting for normalized caching support to stabilize before doing a new release, but I just made a patch 0.4.3 release with this commit in it. Hopefully that solves your issue for now. Thanks for bringing this to my attention!

(The new release will also have some changes to GraphQLError to allow access to more fields, see #39.)

@benrom
Copy link

benrom commented Jan 19, 2017

Great, I will test it now. Thanks!!

@martijnwalraven martijnwalraven deleted the timbotnik/public-error-message branch January 19, 2017 18:52
BobaFetters pushed a commit that referenced this pull request Nov 2, 2023
#31)

Co-authored-by: Anthony Miller <anthonymdev@gmail.com>
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.

3 participants