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

Determine handling of default values

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Codecs
    • None

    Description

      When writing out objects with fields holding a default value, allow configuring the codecs to optionally not write those values out. Similarly, when reading a document and a null value is read for a non-nullable field, allow for the application of these default values rather than coercing the null to 0-value for that type.

      Attachments

        Activity

          People

            ross@mongodb.com Ross Lawley
            justin.lee Justin Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: