Nuno Alves de Sousa
11/02/2022, 1:10 PM@Single
class ComponentA { ... }
module {
single { ComponentB(get<ComponentA>().foo) }
}
For these simple mappings it would be really cool if we could do something like:
@Single
class ComponentB(@InjectedFrom(ComponentA::foo::class) foo: Foo)
Is there a way to do this already with annotations? If not, do you think this proposal is reasonable?Nuno Alves de Sousa
11/06/2022, 5:12 PMarnaud.giuliani
11/07/2022, 5:03 PMarnaud.giuliani
11/07/2022, 5:03 PMNuno Alves de Sousa
11/07/2022, 5:13 PM