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

Static lifecycle registered functions called before resolve. #9

Open
jgornick opened this issue Apr 21, 2015 · 0 comments
Open

Static lifecycle registered functions called before resolve. #9

jgornick opened this issue Apr 21, 2015 · 0 comments

Comments

@jgornick
Copy link

I'm not 100% sure if this is an issue, however, based on the documentation, I would assume that dependencies that are using the static lifecycle would be called once and only when the first resolve for the key is called. I am seeing that the static lifecycle functions are being called immediately after being registered.

I ended up having to change all of my registrations to use scoped lifecycle for desired behavior.

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

No branches or pull requests

1 participant