Skip to content

ContextVar modified in async deps are not available in middleware (with structlog) #8632

Answered by ramilmsh
charlax asked this question in Questions
Discussion options

You must be logged in to vote

FYI, for anyone searching for an answer, I was eventually able to solve the issue with starlette-context

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ramilmsh
Comment options

Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem question-migrate
4 participants
Converted from issue

This discussion was converted from issue #4696 on February 28, 2023 16:15.