okarm
03/05/2024, 12:23 PM1
and 2
in the following snippet? Maybe 1
will be problematic in native code? I seem to remember these reified inline functions threw at runtime in K/N, is that still a thing?
object UUIDSerializer : KSerializer<UUID> {
override val descriptor: SerialDescriptor = serialDescriptor<String>() // (1)
override val descriptor: SerialDescriptor = String.serializer().descriptor // (2)
...
}