@egorand I’m assuming you weren’t able to use dagger for the cross platform stuff, right?
09/10/2018, 1:14 AM
Annotation processing available only on JVM and dagger generates java code, so it’s impossible to use on multiplatform
09/10/2018, 1:51 AM
If you're curious about "Ok Multiplatform" specifically, it was about migrating Okio to Kotlin multiplatform, hence dependency injection wasn't in scope. But yeah, codegen-based DI probably doesn't apply to JS and Native. I haven't used Koin (which isn't DI strictly speaking), but I guess it can be extended to support multiple platforms.