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
-
I try to use the
validate
function 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 theGraphQLError
object. As it looks like theGraphQLError
constructor allows to pass apath
or anextensions
object 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