Object IDs created by BSON v4 are silently ignored by Node driver 3.x

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • bson-4.0.2
    • Affects Version/s: Not Applicable
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      see GitHub issue: [https://github.com/mongodb/js-bson/issues/306:

      https://github.com/mongodb/js-bson/issues/306]

      fix: 4.x-1.x interop (incl. ObjectID _bsontype)

      Enables documents created by 4.x to be parsed/serialized/deserialized by 1.x BSON (e.g. the current Node driver) and vice-versa. Fiesx Object ID interop with the current Node driver and with existing duck-typing code that depends on ObjectId._bsontype === 'ObjectID'

      https://github.com/mongodb/js-bson/issues/306

              Assignee:
              Matt Broadstone
              Reporter:
              Matt Broadstone
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: