InsertKoinIO / koin

Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform
https://insert-koin.io
Apache License 2.0
9.03k stars 716 forks source link

Any plans to move from KSP to kotlin compiler plugin? #1918

Open sureshg opened 3 months ago

sureshg commented 3 months ago

Are there any plans to move out of KSP to kotlin compiler plugin? Recently the kotlinx-rpc team has moved from ksp to compiler plugin because of the following advantages

I am not sure all of these are applicable for koin, but the first two will have an impact on build speed and UX.

arnaudgiuliani commented 2 months ago

Thanks for your feedback. It depends where we want to go: we have 2 ways to deal with compile time safety: Annotation processing + ksp checks or Typesafe DSL + compiler plugin.

It's a good challenge for Koin Annotations to change the ksp compiler to kotlin compiler. Let's see how it goes with KSP2