Supporting the optional 'extensions' key in http response #928
nick-stephen
started this conversation in
Ideas
Replies: 1 comment
-
d'oh - this is coming from graphql-java - please ignore. Will raise thread with them. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The GraphQL response format supports an optional top-level 'extensions' field with a Map value to allow for future extensions.
http://spec.graphql.org/draft/#sec-Response
This is missing today from DataFetcherResult although it has been included as a sub-field in the GraphQLError type
I'd like to be able to optionally provide information such a profiling data and/or optimization hints in my query responses, without there being an error to return.
Are there any plans to add this field to DataFetcherResult? If not and there are no objections, I may work on a merge request...
Beta Was this translation helpful? Give feedback.
All reactions