Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

This appears to only support direct binding, and not as subclass #3

Closed
apatrida opened this issue Mar 30, 2017 · 2 comments
Closed
Labels

Comments

@apatrida
Copy link

Not sure how this works in Kodein, but if you bind to the Concrete Class for example, and the constructor accepts the implemented Interface, your type check is == so will not bind. Is there an internal call you can make to Kodein to have it do the same logic it would apply?

Basically calling its instance<type>()?

@kailan
Copy link
Owner

kailan commented Mar 31, 2017

Not 100% sure what you mean here, mind giving some example code?

@kailan
Copy link
Owner

kailan commented Jul 7, 2017

Closed, this is default functionality of Kodein.

@kailan kailan closed this as completed Jul 7, 2017
@kailan kailan added the wontfix label Jul 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants