Hello, when using spring boot webflux with coroutines how can I pass context from the handler to a W...
a
Hello, when using spring boot webflux with coroutines how can I pass context from the handler to a WebFilter? From the filter to the handler I can put it in the ReactorContext and obtain it via
coroutineContext[ReactorContext.Key]
although I was expecting that this context would be restored after calling
chain.filter
on my WebFilter, meaning that whenever I put something in
coroutineContext[ReactorContext.Key]?.context
it would be visible in Reactor context, but it doesn’t seem to be the case. Is there anyway to do this?