Aldo Mateli
Aldo Mateli
The `@container.autowire` decorator will simply return a new function that will bind container objects to the function on call. Since this will happen on every call, even though cached it...
Allow injection of types based on protocols. Services can declare themselves what protocol they support and the container can then perform autowiring based on that. ```python class SupportsFoo(Protocol): def foo(self)...
- [x] Opt-in: Allow filtering of joined entities - [ ] Add new annotation instead of reusing the one for filtering - [ ] Decide if this should also apply...
Add docs site using mkdocs similar to https://github.com/maldoinc/wireup.
Users should have the option to inject everything that implements some interface or protocol(once they get added).
Environment: - Python version: 312 - Operating system: - Flask version: - flask-openapi3 version: --- This affects all versions. Flask-openapi3 removes all arguments passed to the view by any previous...
* `initialize_container` takes a parameters arg, so there's no need to separately update `container.params`. * `dependency_container` is optional and will recreate the container on every call` so that the function...
When using in a web app it can be beneficial to have request-scoped objects to make sure they are initialized only once per request.