-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Not Needed
What problem are you facing?
EJSON.stringify when encountering objects with an _bsontype field does not validate the string that it returns, instead it assumes that the toExtendedJSON hook exists and calls it.
AC
- Consider improving the alignment with BSON
- Which is the source of truth toExtendedJSON hook or _bsontype
- related to
-
NODE-4858 Decouple BSON type interpretation from BSON type structure
- Backlog