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).
- is duplicated by
-
MOTOR-621 Support parsing $uuid as extended JSON representation for subtype 4 binary
- Closed
- is related to
-
PYTHON-2152 Support Handling of Native UUID Types Specification
- Closed