Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

inject will now inject interface implementors as dependencies #18

Merged
merged 2 commits into from
Apr 25, 2014

Conversation

codegangsta
Copy link
Owner

No description provided.

If no concrete type is matched for the given type, and the type is an
interface, then inject will iterate the values map to search for any
implementors of that interface before moving to the parent injector.

This will be a performance hit for certain cases where the requested
dependencies exist concretely in the parent injector. The good news is
that this should solve issues with rewritten import paths and should
allow a looser injection scheme.
codegangsta added a commit that referenced this pull request Apr 25, 2014
inject will now inject interface implementors as dependencies
@codegangsta codegangsta merged commit 37d7f84 into master Apr 25, 2014
@codegangsta codegangsta deleted the JMS-Implementors branch April 25, 2014 18:40
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant