inversify-express-utils
inversify-express-utils copied to clipboard
Add ability to use constructor injection in middlewares
Description
Add ability to use constructor injection for http-request scoped dependencies in middlewares.
Related Issue
https://github.com/inversify/InversifyJS/issues/1220
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [x] I have read the CONTRIBUTING document.
- [x] I have added tests to cover my changes.
- [x] All new and existing tests passed.