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

Is there an equivalent to dig.As() ? #41

Closed
varunbpatil opened this issue Aug 28, 2023 · 1 comment
Closed

Is there an equivalent to dig.As() ? #41

varunbpatil opened this issue Aug 28, 2023 · 1 comment

Comments

@varunbpatil
Copy link

I have a constructor that returns a concrete type which implements more than one interface and I would like to register the same instance as providing multiple interfaces.

In dig, it is possible using dig.As().

@samber samber mentioned this issue Oct 23, 2023
50 tasks
@samber
Copy link
Owner

samber commented Oct 30, 2023

it will be added in do@v2 -> #45

@samber samber closed this as completed Dec 6, 2023
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

2 participants