Hi. I'm getting "cannot generate external serialis...
# multiplatform
f
Hi. I'm getting "cannot generate external serialised ... is defined in another module", when using the
@Serializer(forClass = ...)
mechanism, on a kotlin Multiplatform project. Is this a well-known limitation? Anything I could do to have such scenario working, i.e., have a non-serializable class on module M1 and define a serializer for it with using the
forClass
on module M2 (https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/serializers.md#deriving-external-serializer-for-another-kotlin-class-experimental).
138 Views