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

Improve dependency injection to be more flexible on what can be injected. #3

Open
wheatjs opened this issue Feb 27, 2017 · 1 comment

Comments

@wheatjs
Copy link
Owner

wheatjs commented Feb 27, 2017

Add support for:

  • Non-class dependencies,
  • Value providers,
  • Aliased class providers,
  • Alternative class providers
@wheatjs
Copy link
Owner Author

wheatjs commented Mar 22, 2017

Option added for injection in the latest update:

injectables: [
    SomeClass,
    { inject: SomeOtherClass, use: 'some value' }
]

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

1 participant