Closed nolazybits closed 4 years ago
for instance use case could be to get the logged in user and save it in a singleton fo the current request. So the dev can just inject the user object and knows it will have the current logged in user.
Look into inRequestScope from InversifyJS
I am working on it to the version 3 of this library
for instance use case could be to get the logged in user and save it in a singleton fo the current request. So the dev can just inject the user object and knows it will have the current logged in user.
Look into inRequestScope from InversifyJS