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

Export EJSON from the driver

    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Use Case

      As a Node driver engineer
      I want the driver to export EJSON and calculateObjectSize
      So that projects using the driver import all BSON components from the driver.

      This change specifically impacts mongosh and compass and will ease testing driver/bson changes with these downstream projects.

      User Impact

      Users will change their imports of EJSON and calculateObjectSize.

      Dependencies

      • upstream and/or downstream requirements and timelines to bear in mind

      Acceptance Criteria

      • Export EJSON and calculateObjectSize from the driver along with BSON

      Implementation Requirements

      Testing Requirements

      • tbd

      Documentation Requirements

      • We should document this feature and encourage users to always import BSON from the driver, instead of the BSON package, if they're using both.

            Assignee:
            Unassigned Unassigned
            Reporter:
            bailey.pearson@mongodb.com Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: