infinum/kotlin-jsonapix

Kotlin Multiplatform support?

luongvo opened this issue · 5 comments

Hi team, thank you for building a great library for JSON:API parsing with kotlinx. After checking, I see this lib does not support the Kotlin Multiplatform project yet as it still uses kapt to process annotations based on JVM. The description of this library says it seems to support multiplatform already but unluckily not yet.

Do you have any plan to make it fully support it? I do think the main work will be migrating from kapt to ksp. Am I correct? 🤔

Hi @luongvo!

You are correct, I am working on KSP support as we speak. I believe sometimes in the 1st quarter of the next year there should be a release that will include it. I will update the description, thanks for pointing this out.
The initial plan was to make the lib multiplatform from the start, but it turned out to take more effort than we could afford at the time.

Anyway, yeah, we do plan to support KMM. Not sure if adding ksp is the last link in that chain, but if needed we will keep working.