Marc Knaup
12/12/2020, 2:53 AMClassis not registered for polymorphic serialization in the scope ofArrayList. Mark the base class asAnyor register the serializer explicitly.sealed
ClassDo I really have to do this dance for every possible implementation ofis not registered for polymorphic serialization in the scope ofSingletonList. Mark the base class asAnyor register the serializer explicitly.sealed
Collection? 😮
Also, how do I register subclasses of Collection? There’s no Collection.serializer() or ArrayList.serializer() I could use for polymorphism 🤔jw
12/12/2020, 3:12 AMList.serializer() by calling toList() on the Collection value first (in a serializer for Collection)Marc Knaup
12/12/2020, 9:34 PMFoo<Bar<*>> where * has no upper bound and may be a Collection<Something>.
It looks like I cannot solve that with a polymorphic serializer 😕Marc Knaup
12/12/2020, 11:47 PM<T> I’d still have to provide an own Collection serializer and cannot rely on serializer<T>()? ugh 😕Marc Knaup
12/13/2020, 12:15 AMMarc Knaup
12/13/2020, 1:02 AM