Replies: 1 comment
-
I already have an answer here - it's not possible |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I have a Quarkus project written in Kotlin with coroutines instead of Mutiny.
I need to pass some context information (more specifically - tenant ID), so that it can be resolved on a DB layer (and other ends), without passing it as a parameter everywhere.
To that end, I need to register a custom
CoroutineContext.Element
in the root CoroutineScope.The idea is that
ServerRequestFilter
will set a value taken from the HTTP request (dedicated header), that will be propagated with the CoroutineContext downstream.How may I approach this ?
Beta Was this translation helpful? Give feedback.
All reactions