Is there a good place to discuss Kotlin Compiler Plugin’s (I know this is for KSP discussions, but I couldn’t find an alternative channel)?
I’m trying to write a plugin that will add Gson’s
@SerializedName
annotation and Moshi’s
@Json
annotation to all the properties of a data class. Everything seems to be working in my transformer (
IrElementTransformerVoidWithContext
) , but the resulting class doesn’t seem to have the annotations when I try to run a unit test (which loads the class from a temp working directory).
If anyone has any documentation or resources that could help, I would be most grateful. Thanks!
z
Zac Sweers
03/01/2022, 11:50 PM
#compiler maybe
m
myotive
03/01/2022, 11:50 PM
Excellent. Thanks!
z
Zac Sweers
03/01/2022, 11:50 PM
in the future also feel free to ask about channels in #meta or #random