-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Uneccessary execution error wrapping #120
Comments
Coincidence or not, I've just opened this issue 30 minutes ago 🙂 |
While writing the unit-tests for this PR #122 |
@BilyachenkoOY can you comment on whether @huysentruitw PR helps you or not? |
@tlil, @huysentruitw I checked PR and it is fine for me, since my issue was about errors added with middleware and not about thrown exceptions. And now those errors are preserved as I'd expect. So, thank you for this PR! |
After rewriting my original solution using GraphQL.Conventions I fall into the issue that I can't handle errors as easily as before. For example, this code is not working anymore:
This is because of some two-lever errors wrapping which is made in GraphQLEngine.cs#L289.
ExecutionError.Code
which i set in original error is overridden with class name)?The text was updated successfully, but these errors were encountered: