How can I integrate typedi with my controllers? For example let's say I would like to set a redis client instance in my typedi container, then how can I use the redis client instance? The example in the README is very broad and unclear for me.
Any news?
Just use Container.set to provide a redis instance, then place @Service above the controller class, place proper @Inject in constructor/class field and remember about useContainer(Container)
Stale issue message
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.
Most helpful comment
Just use
Container.setto provide a redis instance, then place@Serviceabove the controller class, place proper@Injectin constructor/class field and remember aboutuseContainer(Container)