jonathan
03/02/2018, 5:42 AMjava.lang.IllegalArgumentException: Can't locate polymorphic serializer definition
(full stack trace: https://gist.github.com/jdkula/511b45a5de8224775418a39c23199d84)
I'm compiling to Javascript from a common module. I'm using Kotlin 1.2.30.sandwwraith
03/02/2018, 9:59 AMjonathan
03/02/2018, 6:42 PMhagabaka
03/02/2018, 7:40 PM@Serializable
from the base classes?hagabaka
03/02/2018, 7:44 PM@Serializable
on the sub classes. In the custom serializer I used input.read(Data::class.serializer())
where Data
is a data class with all possible fieldsjonathan
03/02/2018, 11:36 PM