Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4535

Automatically promote UUID in EJSON parse and BSON deserialize

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • bson-4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Not Needed

      Acceptance Criteria

      Implementation Requirements

      • if the bytes passed into either EJSON parse or BSON deserialize are Binary and have subtype 4 (BSON_BINARY_SUBTYPE_UUID_NEW) promote them to UUID

      For example,

      TBD
      

      Testing Requirements

      • input: ejson string subtype4 -> return UUID instance
      • input: bson nytes with binary subtype 4 -> return UUID instance

       

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            aditi.khare@mongodb.com Aditi Khare
            Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: