Automatically promote UUID in EJSON parse and BSON deserialize

XMLWordPrintableJSON

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

      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
            Reporter:
            Aditi Khare (Inactive)
            Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: