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

Question: How to resolve all instances implementing a common protocol? #215

Closed
mylemans opened this issue Nov 28, 2018 · 1 comment
Closed
Labels

Comments

@mylemans
Copy link

At the moment, in a separate step, we resolve a specific set of protocols so they can perform additional configuration steps.

In the past when I developed on Windows I would just give all these services a common interface (protocol) that they would have to implement, and then I just had to get all instances implementing that interface. How would I go on reproducing such behaviour using Dip?

@ilyapuchka
Copy link
Collaborator

@mylemans in early days there was an idea to support multi-injection but we dropped it as the same result can be achieved with tags and map function (see #39 (comment))

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

No branches or pull requests

2 participants