inversify-props
inversify-props copied to clipboard
Named injections do not work
WIth [email protected]
import { inject } from 'inversify-props'
import { named } from 'inversify'
class ...
@inject(Symbols.feathers)
@named('hubService')
feathers
does not work but
import { container } from 'inversify-props'
...
this.feathers = container.getNamed(Symbols.feathers, 'hubService')
does work
Yes, the wrapper is not ready for named maybe some day