Paul Woitaschek
04/26/2023, 1:40 PM@Serializable
data class SerializableSomething(
val i: SomeInterface,
val b: SomeClass, <- error here
)
interface SomeInterface
class SomeClass
Adam S
04/26/2023, 2:20 PMall interfaces are considered to be implicitly serializable with the PolymorphicSerializer strategyhere’s a relevant bit from the docs, but I’m not sure if it might help!
Paul Woitaschek
04/26/2023, 2:22 PMAdam S
04/26/2023, 2:23 PMSomeInterface
?Paul Woitaschek
04/26/2023, 3:31 PM