Closed mailaneel closed 3 years ago
Any progress on this?
Added in 3f13dc7f0bd9fa58c04499760257371dad32292d. Will be part of 0.4.0
release.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Problem: Cannot use request scoped container instance
Decorators are currently using global container instead of passed container instance to
value
inregisterHandler
https://github.com/typeorm/typeorm-typedi-extensions/blob/5016faf3d99dfbfcbcad2395f4bce2628d1f31f1/src/decorators/InjectConnection.ts#L9Why:
Allows more use cases where request scope(TypeDI) is required
Solution: