nop, Koin doesn’t do any reflection to guess your ...
# koin
a
nop, Koin doesn’t do any reflection to guess your dependencies. Koin deals with your declared types
☹️ 1
because you have to deal with types, parent types … and checking type hierarchy is reflection
e
of course. but how about if you’d give it a little help? comparing again to Dagger’s map multibindings, where you specify your parametrized `@MapKey`s that extend a certain class (in the above message, it would be an
AbstractRepository
), I think that there could be a way to tell Koin to hold a collection of some base type which you can use later.
if this sounds like a possible good idea to you, I might give it a try to come up with a more specific proposition during the holidays