-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Bson
-
None
-
Developer Tools
Sometimes, MongoDB products expose information in EJSON format. It is not obvious to users that this is not the actual format in which data is stored in the database, or that that is not the format which the shell uses to send data to the database.
To resolve this confusion, we should consider warning users when they provide EJSON in a place in which data gets serialized directly as BSON (e.g. insertOne, find, etc.) without an EJSON deserialization step.