Open kireerik opened 3 months ago
Can you please explain in detail what you expect to happen? An example GraphQL response of what you get today, and what you expect instead with the setting set to true
?
Sure. Let's say i throw an error like this (in a GraphQl query):
throw Error('test')
This is what I get as a response:
Unexpected error.
on errors[0].message
(This is as expected.)
errors[0].extensions
(.originalError
(with the relevant details on it in message
and stack
))
I expect to get no extensions
at all (in this case) but more impotantly no originalError
on it (in this case).
Describe the bug
See the title.
Your Example Website or App
⠀
Steps to Reproduce the Bug or Issue
Do what the title says.
Expected behavior
The setting is respected.
Screenshots or Videos
No response
Platform
Windows
20.14.0
graphql-yoga
version:5.3.0
Additional context
No response