https://kotlinlang.org logo
#ktor
Title
# ktor
d

dodalovic

04/11/2022, 6:36 PM
Is koin still incompatible with ktor 2? If so - is there some alternative?
I'm not aware of a great alternative if you need multiplatform, or if you want to avoid reflection.
If your project is small enough to not need anything complicated, you could roll your own pretty easily. Koin is in essence a nice API around a global object. If you can do without the nice API and trust your team (or are working alone), disciplined use of a global object can be a viable substitute.
d

dodalovic

04/12/2022, 5:40 AM
Thanks, @nschulzke!
r

rudolf.hladik

04/12/2022, 10:09 AM
some new api is coming without reflection new dsl
d

dave08

04/13/2022, 2:32 AM
I think #kotlin-inject is MPP?
2 Views