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

Add codec and codec provider for enum types

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.5.0
    • Affects Version/s: None
    • Component/s: POJO
    • None
    • Minor Change
    • Needed

      Currently, codec support for enum types is embedded in the PojoCodec as a PropertyCodecProvider. This makes it inaccessible to the new RecordCodec.

      Consider whether we can add a top-level EnumCodec and EnumCodecProvider that can be used by both PojoCodec and RecordCodec.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: