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

error payload is an array of errors #2

Merged
merged 2 commits into from
Jul 15, 2021
Merged

error payload is an array of errors #2

merged 2 commits into from
Jul 15, 2021

Conversation

mwhitworth
Copy link
Contributor

@mwhitworth mwhitworth commented Jul 15, 2021

The error payload is actually of type GraphQLError[] (ref) - so we should extract the inner errors value.

P.S. Great library!

@sax
Copy link
Collaborator

sax commented Jul 15, 2021

This is fantastic! Thanks for writing the regression test, that describes the use case well.

@sax sax merged commit 580b719 into absinthe-graphql:main Jul 15, 2021
@mwhitworth mwhitworth deleted the error-message-payload branch July 15, 2021 15:12
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