Hello everyone, I am working on a mustache parser & render for kotlin multiplatform
https://github.com/L-Briand/KTM
In it, there is a ksp plugin to create automatic adapter for a given class:
@KtmContext data class User(val name: String)
This will automatically creates a
UserKtmAdapter
on the same package.
The current implementation creates a
AutoKtmAdaptersModule
with all generated adapters inside. Then, the user can set this module as default.
However, if there is two configuration for the same target, likely
Jvm
and
JvmTest
, the file
AutoKtmAdaptersModule
is generated for both, and the upper most configuration takes precedence.
In this case the one generated in
JvmTest
will replace the one in
Jvm
.
Do you know of a way to combine them ?