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

Ensure user BSON options are respected

    • 0
    • 0
    • Not Needed
    • Not Needed

      With the BSONv4 upgrade options such as promoteValues and promoteLongs were lost as they were inherited properties of the initialized BSON class. Since BSONv4 is simplified to a namespace there is no longer the implicit inheritance of options. We need to ensure that the options the user passes in are respected in bson’s serialize and deserialize calls. This may require plumbing options into functions that previously did not have access to them. Additionally it may not be necessary to do this for every call, look for context around the call to see if it is bson that a user would get access to (e.g, auth code uses bson calls but it is entirely internal and doesn’t need to respect user options).

            Assignee:
            Unassigned Unassigned
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: