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

Named injections do not work #13

Open
nsainaney opened this issue Jan 15, 2020 · 1 comment
Open

Named injections do not work #13

nsainaney opened this issue Jan 15, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@nsainaney
Copy link

WIth inversify-props@1.4.9

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

@CKGrafico CKGrafico added the bug Something isn't working label Jan 16, 2020
@CKGrafico
Copy link
Owner

Yes, the wrapper is not ready for named maybe some day

@CKGrafico CKGrafico added enhancement New feature or request and removed bug Something isn't working labels Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants