0.22.2
What's Changed
- feat: ModelService Dependency Injection Support by @eadwinCode in #222
- Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 by @dependabot in #218
- Bump mypy from 1.13.0 to 1.14.1 by @dependabot in #220
- fix: DI documentation update by @eadwinCode in #224
- fix: MyPy 1.14.1 support by @eadwinCode in #225
- fix: Readme And Query Testing by @eadwinCode in #228
- fix: RouteContext Refactor by @eadwinCode in #229
- fix: Permission Documentation update Refactor by @eadwinCode in 6d394e4
DEPRECATION NOTICE
The service attribute in ModelController has been changed from a class object to an instance object. When creating a custom ModelService for a ModelController, you have to specify it as service_type.
This is because services are now injected as dependencies during controller instantiation. Service instantiation is delegated to the injector package, so ensure that any additional dependencies required by your ModelService are properly registered in the dependency injection container.
For more details, please refer to the documentation
Full Changelog: 0.22.0...0.22.2