spring-graphql icon indicating copy to clipboard operation
spring-graphql copied to clipboard

Consider improving Reactor chain and context propagation

Open ciscoo opened this issue 3 years ago • 0 comments

From https://github.com/spring-projects/spring-graphql/issues/328#issuecomment-1069628870:

(Emphasis mine)

Currently we decorate each DataFetcher and propagate to it Reactor context from the web layer. Apart from that they are not in a single Reactor chain and Reactor context from one cannot be seen by others. This is something we might try to improve in the future, but for now if you want pass something across data fetchers, just use GraphQLContext.

ciscoo avatar Apr 01 '22 15:04 ciscoo