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

BSON loses type information when automatically upgrading symbols to strings

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • bson-4.0.4
    • Affects Version/s: bson-4.0.3
    • Component/s: BSON
    • None

      BSON v4 automatically upgrades BSONSymbol types to a String when deserializing, losing type information. This means we are unable to properly round trip these values, and currently breaks CSFLE tests.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: