You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c00c8fa
Browse filesBrowse the repository at this point in the historyBrowse files
fastapi: bugfix after upgrade, replace fastapi-versioning by native include_router.
fastapi-versioning transplants route objects by directly appending them to sub-app router.routes. In New FastAPI + Starlette this doesnt work properly.
Let's replace VersionedFastAPI with include_router, which properly re-creates APIRoute objects through APIRoute.__init__ — ensuring FastAPI's request_response wrapper is used.
P.S. fastapi-versioning and fastapi-users are both poorly maintained and source of many issues.
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
0 commit comments