lbaresse
12/12/2017, 7:26 PMAny kotlin's type but It seems to us it was not so clean to extend it.rocketraman
12/12/2017, 9:44 PMinject in my code, then my code has a dependency does it not? This means I can't, for example, test that component, without my test also needing the DI machinery.rocketraman
12/12/2017, 9:45 PMlbaresse
12/13/2017, 8:24 AMinject. If you are extending Ktor Application functions, it's already available out-of-the-box. If you are developing Android App, it's again already available out-of-the-box inside Activities, Fragments and Services. In the general case, since we can be aware of your code, you have to mark your class with KoinComponent on which we are providing inject function extension.lbaresse
12/13/2017, 8:56 AMdeviant
12/13/2017, 7:40 PMinject method too. at least on android components like activity or fragmentdeviant
12/13/2017, 7:41 PM