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

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
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

Successfully merging this pull request may close these issues.

None yet

1 participant