-
Notifications
You must be signed in to change notification settings - Fork 75
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 on resolving with Tags #165
Comments
You can get a tag from context object https://github.com/AliSoftware/Dip/wiki/Dependency-container-context, thats what autowiring does under the hood. |
Thanks for the quick response. Is Autowiring Constraint to an maximum number of Constructor dependencies? |
yes, the constraint is not on autowiring, it is on registration methods (you can add your own but it is not advised) |
Ah I see. This was my problem. I will refactor my architecture here. Thank you! |
Regarding you second question - autowiring is a feature to resolve dependencies of constructor without resolving them explicitly in registered factory or manually and passing as parameters to |
Hey, first of all: It's a really great Framework you provide. Thank you very much for it!
And to the question:
Is the handing through of the tag only possible when using AutoWiring ?
Or is it also possible when using registration like this:
Or do I have to register it this way?
Second question:
Is registering with :
Using AutoWiring?
Thanks very much in advance.
The text was updated successfully, but these errors were encountered: