Decoding of $uuid fields from extended JSON should respect UuidRepresentation

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.11
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When UuidRepresentation is UNSPECIFIED, the UUID should be loaded as a Binary subtype 4, else it should be loaded as a native UUID.


      Original Description

      Following this implementation of the new UUID specification (PYTHON-2152), we might need to change how we decode $uuid fields from extended JSON because this is not only a 'legacy' field name for PyMongo's extended JSON, but it is now also used by the server in logs (see DRIVERS-848).

              Assignee:
              Prashant Mital (Inactive)
              Reporter:
              Prashant Mital (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: