Robert
07/09/2020, 10:04 AMContextWebFilter
which is not passing the the original Reactor Context
override fun filter(exchange: ServerWebExchange, chain: WebFilterChain): Mono<Void> =
if (isApplicable(exchange.request.uri.path)) {
mono {
contextFactory.generateContext(exchange.request, exchange.response)
}.flatMap { graphQLContext ->
chain.filter(exchange).subscriberContext { it.put(GRAPHQL_CONTEXT_KEY, graphQLContext) }
}
} else {
chain.filter(exchange)
}