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

Fix a problem with duplicate instances when resolving a Singleton from a child scope #35

Merged
merged 1 commit into from
Oct 9, 2020

Conversation

hadashiA
Copy link
Owner

@hadashiA hadashiA commented Oct 9, 2020

Singleton in the root container had to be taken out of the Root container.

@hadashiA hadashiA force-pushed the ku/fix-scoped-singleton2 branch from c00697b to 9afed7f Compare October 9, 2020 10:10
@hadashiA hadashiA merged commit 26248e6 into master Oct 9, 2020
@hadashiA hadashiA deleted the ku/fix-scoped-singleton2 branch October 9, 2020 10:11
@Watcher3056
Copy link

Hi!

How to avoid creating singleton in the child scope when parent(or Root) scope already has instance of this singleton?

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

Successfully merging this pull request may close these issues.

2 participants