Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per Request singletons #32

Closed
nolazybits opened this issue Apr 9, 2018 · 1 comment
Closed

Per Request singletons #32

nolazybits opened this issue Apr 9, 2018 · 1 comment
Assignees

Comments

@nolazybits
Copy link

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

@thiagobustamante
Copy link
Owner

I am working on it to the version 3 of this library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants