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

Make it easier to derive one CodecRegistry from another

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.0.0
    • None
    • API, Codecs
    • None

    Description

      We should have a default RootCodecRegistry that includes

      • DBObjectCodecProvider
      • DocumentCodecProvider
      • BsonCodecProvider

      and then allow easier customization from there, e.g. adding a single new Codec for one type.

      A good use case for this is how easy it is to change the UuidRepresentation for the UuidCodec.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: