Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2263

Decoding of $uuid fields from extended JSON should respect UuidRepresentation

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.11
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:
      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 Prashant Mital (Inactive)
            Reporter:
            prashant.mital Prashant Mital (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: