Add promoteUUIDs bsonOptions pluck support to the driver

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Unknowns

      • Confirm that the driver isn't impacted by the promoteUUIDs option being enabled or disabled. Ex. look for Binary API usages, look at listCollections (collections use UUIDs)

      Acceptance Criteria

      Implementation Requirements

      • modify the pluckBSONSerializeOptions utility to handle promoteUUIDs
      • modify the resolveBSONOptions utility to handle promoteUUIDs

      Testing Requirements

      • Add tests (like in bson_regex.test.js) that confirm promoteUUIDs option is inherited from the client, db, collection or can be specified per operation.
      • Confirm listCollections still works, check if the driver will now return UUID instances for this API when the option is enabled.

            Assignee:
            Unassigned
            Reporter:
            Neal Beeken
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: