-
Notifications
You must be signed in to change notification settings - Fork 91
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
Using with GraphQl (resolver) #9
Comments
This is pretty interesting... I get the request and response from nest by calling Would you provide me with a minimal reproducible example? |
Of course... Here is the example: https://github.com/renehauck/nest-next-render-error Just start, open the page "http://localhost:3000/graphql" and execute the query
Normally the error "Ups" should appear, but instead the error "Cannot read property 'raw' of undefined" is thrown again. |
Thank you for that example, it was extremely helpful. I just released |
ok, the ".raw"-error is gone, but now I don't get any more errors which are thrown in the resolvers. 😃
I think there's an "else throw err;" missing at the end, right? 😊 |
Yes, you are correct! I pushed |
First of all many thanks for this great package 👍 Now I have a problem using this package with grapqhl (resolver).
I always get the following output when a graphql error occurs:
Also "setErrorHandler" is not triggered. A normal controller triggers it.
Thanks for your help
The text was updated successfully, but these errors were encountered: