<@U1J7LS3N0> I’m assuming you weren’t able to use ...
# multiplatform
y
@egorand I’m assuming you weren’t able to use dagger for the cross platform stuff, right?
g
Annotation processing available only on JVM and dagger generates java code, so it’s impossible to use on multiplatform
e
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.
t
https://github.com/InsertKoinIO/koin/issues/120 - issue for Koin JS support. Theoretically should be possible, but for now several Java classes are still used in
koin-core
.
👍 2