Support EJSON stringification of UUID class directly

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Gone away
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Will support stringifying UUID instances directly. This does not need to be flagged and can be added as a feature improvement to the existing behavior.

      Acceptance Criteria

      Implementation Requirements

      • EJSON stringify should always serialize to $binary canonical format
      • Reuse logic from binary stringify section, we can call toBinary on the input UUID and treat it the same after that

      Testing Requirements

      • See if we can run the existing EJSON spec tests with UUID inputs where UUID Binary is used.
        • If not write prose that test new UUID() can work directly with stringify

      Documentation Requirements

      • Follow up with team on how this feature should be demonstrated.

              Assignee:
              Durran Jordan
              Reporter:
              Neal Beeken
              Durran Jordan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: