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

Remove internal constants from BSON public export

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • bson-5.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 2
    • Needed
    • Not Needed

      Use Case

      As a node engineer
      I want internal things to stay internal
      So that I can reason about changes that cause major semver bumps

      Acceptance Criteria

      Implementation Requirements

      • Remove the BSON constants from the public exports
      • Add the BSONType enum from the driver to the BSON library

      Testing Requirements

      • Update exports unit test

      Documentation Requirements

      • Migration guide

      Follow Up Requirements

      • Make a note in the ticket that will have the driver adopt BSON v5 that it can remove its copy of the BSONType enum and re-export BSON's

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

              Created:
              Updated:
              Resolved: