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

Add serialization/deserialization configuration for dates in js-bson and driver

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:

      Use Case

      As a Node developer,
      I want the ability to control the type dates are serialized into and deserialized from in BSON
      So that I can use alternate date libraries, specifically Temporal, in my application more easily.

      User Impact

      The new API should be additive, so existing code would not be impacted.

      Dependencies

      • n/a

      Unknowns

      • The exact implementation of the feature is unknown.  Perhaps an option, similar to the initial implementation of promoteUUIDs, or a custom deserialization function / serialization function.  Will probably require a small design to choose a path forward.

      Acceptance Criteria

      n/a

      Implementation Requirements

      • n/a

      Testing Requirements

      • n/a

      Documentation Requirements

      • n/a

      Follow Up Requirements

      • n/a

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

              Created:
              Updated: