Remove export of `NumberUtils` and `ByteUtils` from bson `.onDemand` ns

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • 2
    • Not Needed
    • None
    • Hide

      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.

      Show
      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.
    • 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?
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a... BSON Library Maintainer
      I want... keep the NumberUtils and ByteUtils export from the onDemand namespace.
      So that... the library's interface separates onDemand functionality from the utils

      User Experience

      • Consumers of the library will no longer be able to access NumberUtils or ByteUtils from bson.onDemand.
      • Instead, they will access these utilities via the top-level bson.ByteUtils

      Dependencies

      • Downstream: The MongoDB Node.js Driver imports and uses .NumberUtils and .ByteUtils from bson (.onDemand is no longer used).

      Risks/Unknowns

      • None

      Acceptance Criteria

      Implementation Requirements

      • remove the export of NumberUtils and ByteUtils from onDemand
      • ensure both are exported from top-level BSON

      Testing Requirements

      • N/A

      Documentation Requirements

      • Release note

      Follow Up Requirements

      • N/A

            Assignee:
            Unassigned
            Reporter:
            Sergey Zelenov
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: