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

Check BSON types against driver usage

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • bson-4.2.0
    • Affects Version/s: None
    • Component/s: BSON

      Less commonly used BSON types are missing from the community types we would make sure they're included here. They should already be typed in the conversion ticket but any additional typing can be done here as well as updating to use a common polyfill for ES6 Map.

      Expanding a little on this ticket I would use this work as an opportunity to smoke test the type definitions against the driver and check that nothings unexpectedly changed.

       

      When comparing the newly exported types from BSON with the community types @types/bson, check for inconsistencies within the driver usage.

      A list of 9 type errors appear here: https://gist.github.com/reggi/0cc5d1b28969961629513640c9bd3cc2

            Assignee:
            thomas.reggi@mongodb.com Thomas Reggi (Inactive)
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: