We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If i have two typedef like
typedef IServiceOne = IService<One> typedef IServiceTwo = IService<Two>
with IService being an interface, and i try to map them to concrete classes, like
injector.map(IServiceOne).map(ServiceOne); injector.map(IServiceTwo).map(ServiceTwo);
I'd get a warning because the mapping [IService -> ServiceTwo] is trying to override the mapping [IService -> ServiceOne]
It looks like the type parameter of my interface is not taken in consideration when creating the mapping.
[Workaround for this is to have IServiceOne and IServiceTwo as interfaces that extend IService instead of typedefs.]
The text was updated successfully, but these errors were encountered:
Sorry about the delayed response, I've just released v2 rc1, I'll make sure I take a look at this before the final release.
Sorry, something went wrong.
No branches or pull requests
If i have two typedef like
with IService being an interface, and i try to map them to concrete classes, like
I'd get a warning because the mapping [IService -> ServiceTwo] is trying to override the mapping [IService -> ServiceOne]
It looks like the type parameter of my interface is not taken in consideration when creating the mapping.
[Workaround for this is to have IServiceOne and IServiceTwo as interfaces that extend IService instead of typedefs.]
The text was updated successfully, but these errors were encountered: