Warn when user provides EJSON in place where BSON objects are expected

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Bson
    • None
    • 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.

              Assignee:
              Unassigned
              Reporter:
              Anna Henningsen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: