SemanticDiff fastapi
✨ Update internal `AsyncExitStack` to fix context for dependencies with `yield`
#4575
Merged

✨ Update internal `AsyncExitStack` to fix context for dependencies with `yield` #4575

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

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone