Hyphen icon indicating copy to clipboard operation
Hyphen copied to clipboard

Automatically create subclass serializers for sealed classes/interfaces

Open Kroppeb opened this issue 4 years ago • 2 comments

Would this be default or would it require an annotation on the class? Could be default on if the base class is abstract / is an interface, but this could conflict with #14, #15 or custom serializers

Kroppeb avatar Sep 25 '21 00:09 Kroppeb

This needs to be an annotation as having it default might create confusion. I think one of our rules is, don't do shit without confirmation.

alphaqu avatar Sep 27 '21 06:09 alphaqu

sealed classes/interfaces are still a preview feature in java 16, this might make it harder to implement/test

Kroppeb avatar Oct 20 '21 13:10 Kroppeb