Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3550

Allow sealed traits to be polymorphically serialized and deserialized

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Scala

      Currently the driver only supports sealed classes as the base for polymorphic serialization//deserialization. As the sealed class itself isn't a case class (as extending case classes is generally a terrible idea) they are effectively abstract anyway. So, sealed traits or abstract classes should be first-class citizens, as only their subclasses matter. The implementation of this improvement would require discriminating between abstract and concrete supertypes.

            Assignee:
            Unassigned Unassigned
            Reporter:
            popplewell Georgi Chochov
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: