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

XMLWordPrintableJSON

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

      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
              Reporter:
              Bailey Pearson
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: