Add parent and field name to depreciation validation error #1800
Unanswered
eskimoblood
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I try to use the
validatefunction to log if a query with deprecated fields was called. While it works and I get an error back, the information which field causes the error is unfortunately not part of theGraphQLErrorobject. As it looks like theGraphQLErrorconstructor allows to pass apathor anextensionsobject that could hold this information would it make sense to add this information to the error as well?Beta Was this translation helpful? Give feedback.
All reactions