Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1873

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • bson-4.0.2
    • Affects Version/s: Not Applicable
    • Component/s: None
    • Labels:
      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@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: