-
Notifications
You must be signed in to change notification settings - Fork 96
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
Custom replacement of error values #957
Labels
Comments
WunderGraph commits fully to Open Source and we want to make sure that we can help you as fast as possible. |
Hi @flymedllva thank you for bringing this up. We have this on the roadmap for the module system v2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Component(s)
router
Is your feature request related to a problem? Please describe.
I have a need for a custom implementation of the
message
,extensions
rewrite of the error. Let's say to configure it through modules. I want to replacemessage
depending on the content inextensions
. Also not all my subgraphs substituteextensions
correctly, I could bring all the errors to the same format here.I can do PR if we agree on some implementation
Describe the solution you'd like
I can use
values []*fastjson.Value
asoptionallyOmitErrorExtensions
does, or[]GraphQLError
/subgraphError
, which would seem more convenient.Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: