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

Auto resolution or args based on namespace #47

Closed
mbrevda opened this issue Jun 24, 2014 · 5 comments
Closed

Auto resolution or args based on namespace #47

mbrevda opened this issue Jun 24, 2014 · 5 comments

Comments

@mbrevda
Copy link

mbrevda commented Jun 24, 2014

There seems to be a lot of boilerplate necessary to configure each class for Di. Perhaps the argument namespace can be examined and an object passed based on the namespace expected. While this would require some configuration on the Di side, it would greatly eliminate the amount of setup needed.

Relevant irc logs (19:27-19:34)

@harikt
Copy link
Member

harikt commented Jun 25, 2014

@mbrevda there is a sister project which uses Aura.Di by @koriym https://github.com/koriym/Ray.Di . It resolves auto resolution of stuffs if you need.

Thanks

@pmjones
Copy link
Member

pmjones commented Jun 26, 2014

Oooo! Yeah that might be the right thing to do here. @koriym has done very good work in that regard. @mbrevda take a look at Ray.Di and tell me if it suits your needs.

@koriym
Copy link
Member

koriym commented Jul 4, 2014

Thanks @harikt @pmjones :)

@harikt
Copy link
Member

harikt commented Jul 4, 2014

/me bows . @koriym you are welcome dude.

@harikt harikt added v2 labels Jul 14, 2014
@pmjones
Copy link
Member

pmjones commented Aug 4, 2014

In light of of the existence of Ray.Di, I am not eager to set up auto-resolution in the core Aura.Di package. We can revisit this later if needed.

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

No branches or pull requests

4 participants