-
Type:
Task
-
Resolution: Gone away
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: 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.
- related to
-
NODE-4506 Make UUID a subclass of Binary
-
- Closed
-