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

Some calls to CollectibleCodec.generateIdIfAbsentFromDocument expect the document to mutate.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.4.0-rc1, 3.4.0
    • Affects Version/s: 3.3.0
    • Component/s: Codecs
    • None

      It should be possible to have an immutable document and generateIdIfAbsentFromDocument will return a new document instance.

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: