Files
fastapi/fastapi
Sebastián Ramírez a4aa79e0b4 Add support for raising exceptions (including HTTPException) in dependencies with yield in the exit code, do not support them in background tasks (#10831)
* ♻️ Refactor dependency AsyncExitStack logic, exit dependencies after creating the response, before sending it

*  Update tests for dependencies exit, check they are finished before the response is sent

* 🔥 Remove ExitAsyncStackMiddleware as it's no longer needed

* 📝 Update docs for dependencies with yield

* 📝 Update release notes

* 📝 Add source examples for new dependencies with yield raising

*  Add tests for new dependencies raising after yield

* 📝 Update release notes
2023-12-25 18:57:35 +01:00
..
2023-10-25 00:26:06 +04:00
2023-12-12 00:32:48 +00:00
2019-12-09 20:02:44 +01:00
2020-08-09 22:17:08 +02:00
2023-12-12 00:29:03 +00:00
2023-10-25 00:26:06 +04:00