Currently, FastAPI is one of the dependencies of EZ Web. However, the value it gives to the project in terms of features doesn't compare to how much it makes the framework more unnecessarily complex.
Instead, we can move to use starlette alone and implement any desired functionality ourselves.
Starlette already handles routing and the basic interaction with the web server.
What we'll need to implement ourselves:
Automatic request parsing (via pydantic)
Dependency injection
Automatic response type
Implementing those shouldn't be too hard and will allow us to modify them to our needs.
Currently,
FastAPI
is one of the dependencies of EZ Web. However, the value it gives to the project in terms of features doesn't compare to how much it makes the framework more unnecessarily complex.Instead, we can move to use
starlette
alone and implement any desired functionality ourselves.Starlette already handles routing and the basic interaction with the web server.
What we'll need to implement ourselves:
pydantic
)Implementing those shouldn't be too hard and will allow us to modify them to our needs.