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

DBObjectCodec always serializes the _id first

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.0.0
    • None
    • None
    • None

    Description

      This is too strict - as you can use _id in any position in sort / min / max

      See test cases in: https://github.com/mongodb/mongo-java-driver/commit/c2d64e197a1cd858788ad3d1cf4123a8310f9e91

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: