I have an interface, Foo. Foo has a self-referenci...
# koin
f
I have an interface, Foo. Foo has a self-referencing generic type on its signature, so it looks like
interface Foo<T: Foo<T>>
. Meanwhile, I have another interface,
interface Bar<T : Foo>
. I want to be able to inject an implementation of
Bar
as function in
Foo
so that all of its implementations will reference their type-matching Bar impls. Ehhh I can already tell I'm not making much sense...