✨ Update internal `AsyncExitStack` to fix context for dependencies with `yield` #4575
✨ Add new AsyncExitStackMiddleware to set it up in the scope for depe…
bda63591
♻️ Refactor FastAPI class to use new AsyncExitStackMiddleware for dep…
5b7d83d2
💡 Update comment about AsyncExitStackMiddleware
c29d85e2
✅ Add new test to verify dependencies with yield inside middlewares
017c2353
🔥 Remove unused import
cea488df
cikay
commented
on 2022-02-14
🐛 Fix always calling super().__call__()
07067310
🐛 Fix AsyncExitStackMiddleware, bubble up raised exceptions
d33cde67
💡 Add comment explaining the finicky details of the order of middlewa…
5a3b6f16
✅ Update tests for new raised exceptions from server errors
23b4ccc5
✅ Add tests for dependencies with yield catching HTTPException
c2e3d495
📝 Update docs for dependencies with yield
4531f6af
✅ Update tests for custom server error handlers
a69d9169
tiangolo
merged
9d56a3cb
into master 2 years ago
tiangolo
deleted the dependencies-with-yield-contextvars branch 2 years ago
dimaqq
commented
on 2022-02-22
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub