Hi folks, I'm creating a new type of encoding here...
# serialization
s
Hi folks, I'm creating a new type of encoding here for my project and I want to be able to get Annotations in Generic Types of a List or Map in the SerialDescriptor, is possible? I know that this is possible
val messages: List<@Serializable(with = ChangeColor::class) String>
and I'm trying a lot here and I could not find a way. I want to be able to do something like this:
val messages: List<@ChangeColor String>
s
Unfortunately, it is not possible --
@SerialInfo
annotations should be targeted on properties, not types