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

Add support for BSON useBigInt64 flag to Node Driver

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 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 driver engineer
      I want to add control over the useBigInt64 flag to the Node Driver
      So that users can enable/disable this flag in their code

      Unknowns

      Acceptance Criteria

      Implementation Requirements

      • Ensure that option follows pattern of BSON options being inherited from the client, to db, to collection to per-operation level specification
      • Prevent users from setting `useBigInt64` to true at the client level if `promoteLongs` is set to false

      Testing Requirements

      • Check that the enabling/disabling of this flag does not break any existing functionality

      Documentation Requirements

      • Update inline documentation for BSONSerializationOptions to explain usage of useBigInt64

            Assignee:
            warren.james@mongodb.com Warren James
            Reporter:
            warren.james@mongodb.com Warren James
            Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: