-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Response.Errors in DispatchError function is not PresentedError. #2234
Comments
oikyn
added a commit
to oikyn/gqlgen
that referenced
this issue
Jun 10, 2022
2 tasks
This was referenced Jun 13, 2022
Open
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
Response.Errors in DispatchError function is not
*gqlerror.Error
handled by graphql.ErrorPresenterFunc .gqlgen/graphql/executor/executor.go
Lines 134 to 136 in c355df9
What did you expect?
I expected the following.
Because we expect to show the following as Errors in the response.
gqlgen/graphql/executor/executor.go
Lines 129 to 131 in c355df9
versions
go run github.com/99designs/gqlgen version
?go version
?The text was updated successfully, but these errors were encountered: