3 ms·
I’ve used and quite like it. We switched because it has better documentation and is designed in a more extensible way, common patterns weren’t supported in Fast
by AlphaSite 3y ago
I’ve used and quite like it. We switched because it has better documentation and is designed in a more extensible way, common patterns weren’t supported in FastAPI are here, unfortunately it’s been a few years so I can’t remember details beyond things like lifecycle events being missing, etc.
- yawgmoth 3y agoDo you like the dependency injection? In Flask applications (and I suppose, Quart) you can use the `current_app` object to hold onto a service container that itself can register/retrieve services. It's very manual, and is annoying because you have to retrieve the container and then all of your services in your handler/controller, but there's no convention nor magic (and can give you type info), so I've rolled with it.
- scriptr 3y agoThat's an interesting take! As one of the maintainers, I like the featureset we have and use it in multiple production apps at work, but think that our documentation is one sore spot compared to e.g., Django and FastAPI. Not to say it isn't good, but I think FastAPI and Django's docs are pretty great.