Skip to content

fix: correctly handle missing GraphQLError location/path on decode #119

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

Merged

Conversation

GNMoseke
Copy link

@GNMoseke GNMoseke commented Dec 21, 2022

Small fix for the GraphQLError decoder that allows correctly decoding an error with a missing location or path field by defaulting to empty.

@GNMoseke GNMoseke force-pushed the fix/optional-error-location branch 2 times, most recently from 0090cff to 2c80a9d Compare December 21, 2022 22:10
@GNMoseke GNMoseke force-pushed the fix/optional-error-location branch from 2c80a9d to ec6c690 Compare December 21, 2022 22:11
@NeedleInAJayStack NeedleInAJayStack self-requested a review December 21, 2022 22:13
@NeedleInAJayStack
Copy link
Member

LGTM! Thanks @GNMoseke!

@NeedleInAJayStack NeedleInAJayStack merged commit a301134 into GraphQLSwift:main Dec 21, 2022
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.

2 participants