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

How to unbind with multi-injection? #1063

Closed
akosyakov opened this issue Mar 6, 2019 · 2 comments
Closed

How to unbind with multi-injection? #1063

akosyakov opened this issue Mar 6, 2019 · 2 comments

Comments

@akosyakov
Copy link

For:

container.bind<Weapon>("Weapon").to(Katana);
container.bind<Weapon>("Weapon").to(Shuriken);

I want to unbind only Shuriken from "Weapon". How can I do it?

@dominic-simplan
Copy link

This might be a dulicate of #1035.

@tonyhallett
Copy link
Contributor

See #1035 for a solution

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

No branches or pull requests

4 participants