Use typed accessors to handle response data

XMLWordPrintableJSON

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

      Use Case

      As a... Node Driver developer
      I want... the Driver to use typed accessors to access parsed responses
      So that... Node Driver doesn't have to deal with all possible representations of BSON data

      User Experience

      • End-user sees the same behavior
      • Node Driver developer is able to retrieve number responses without needing to care how the data is parsed, which changes depending on which BSON options the user passes along

      Dependencies

      • None

      Risks/Unknowns

      • Ensure that we don't modify any returned data types (that would be a breaking change)

      Acceptance Criteria

      Implementation Requirements

      • Driver-specific/internal logic uses typed accessors to get access to data that can have different forms depending on user-supplied BSON options

      Testing Requirements

      • Existing tests pass
      • Existing public types are not changed

      Documentation Requirements

      • None

      Follow Up Requirements

      • none

            Assignee:
            Unassigned
            Reporter:
            Pavel Safronov
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: