What is the current status of serialization+native...
# serialization
t
What is the current status of serialization+native+multiplatform? Is workaround for plugin path still required?
Right now it fails with
kotlin.NotImplementedError: An operation is not implemented: Intrinsic to be implemented in compiler
@sandwwraith could you help with this, please?
s
The error you’ve mentioned is thrown from
KClass.serializer()
method. It is indeed unavailable on Native due to the lack of reflection; as message says, we have a plan to intrinsify it. Right now you have to always explicitly pass a serializer, obtaining it from e.g. generated
.serializer()
function on Companion object of serializable class.
Workaround for plugin path shouldn’t be required from 1.3-RC2
t
It works, thanks!