Add missing `wallTime` to ChangeStream types

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: TypeScript
    • 2
    • 1
    • None
    • 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?
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a... developper
      I want... to get proper type on changeStreams
      So that... I can properly integrate it with my application

      User Experience

      • Add the missing `wallTime` property from the change stream events type.

      Dependencies

      • N/A

      Risks/Unknowns

      • N/A

      Acceptance Criteria

      Implementation Requirements

      • Add the new wallTime property to the change stream common interface with type Date.

      Testing Requirements

      • Add type test for the new property
      • Add integration test to assert the correct type (Date) comes from the server.

      Documentation Requirements

      • API docs added.

      Follow Up Requirements

      • None

            Assignee:
            Durran Jordan
            Reporter:
            Quentin Hello
            Bailey Pearson, Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: