wheatjs / unison

An express based server written in Typescript with support for basic Dependency Injection
MIT License
6 stars 0 forks source link

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

Open wheatjs opened 7 years ago

wheatjs commented 7 years ago

Add support for:

wheatjs commented 7 years ago

Option added for injection in the latest update:

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