Hi. Is there a way to use serialization annotations defined in interface by default by the classes that implement them? If I have something like this:
Copy code
sealed interface HasA {
@Serializable(with = CustomSerializer::class)
@SerialName("custom_a") val a: CustomType
}
@Serializable
data class Entity(
override val a: CustomType,
@SerialName("custom_b") val b: Int
) : HasA