raulraja
02/04/2018, 5:22 PM@Inject
dependencies on a function such as that compile time verified instances are injected in the function at runtime on demand without wrapping it all in a class Container @Inject construtor(val dep: Dep) {...}
?
Something along the lines of
fun doStuff(@Inject val dep: Dep): Int = TODO()
doStuff()