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
When we get more APIs the startup slows down dramatically. This wastes much time while API development.
Solution
As @EPajares mentioned there is a patch at tiangolo/fastapi#4645 for this that helps to improve reload time.
It's a simple Patch with 3 lines changes.
Maybe while this patch has not been applied, we can add it manually to the project.
The text was updated successfully, but these errors were encountered:
When we start the dev container for fastapi, it falls back to the main docker-compose and starts all the services.
Solution
We can disable other services by the devcontainer's keyword: runServices (ref) and add just api to it.
This will also run the db as it is a dependency of api.
Problem
When we get more APIs the startup slows down dramatically. This wastes much time while API development.
Solution
As @EPajares mentioned there is a patch at tiangolo/fastapi#4645 for this that helps to improve reload time.
It's a simple Patch with 3 lines changes.
Maybe while this patch has not been applied, we can add it manually to the project.
The text was updated successfully, but these errors were encountered: