Closed
Description
Currently, the ContextDataFetcherDecorator
captures context values from the global GraphQLContext
and set captured values in the execution context of the decorated DataFetcher
. Each DataFetcher
can also contribute additional context values by returning a DataFetcherResult
containing a localContext
that will be used when calling other DataFetcher
lower in the hierarchy call.
We should ensure that ContextDataFetcherDecorator
captures from both global and local GraphQLContext
, if the latter is present. This requires a change in the context-propagation library, see micrometer-metrics/context-propagation#98.