react.di icon indicating copy to clipboard operation
react.di copied to clipboard

Add MultiInject decorator for a more explicit usage of multi injection

Open RobinBuschmann opened this issue 8 years ago • 0 comments

Multi-injection is currently possible via type annotations. Which means, if the annotated type is of type Array the injection will automatically processed as a multi-injection: @Inject(TOKEN) items: SomeInterface[]. For a more explicit usage a MultiInject decorator should be implemented.

RobinBuschmann avatar Nov 06 '17 13:11 RobinBuschmann