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

Support returning ExecutionResult from executeOperation

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Operations Layer
    • Labels:
      None

      There are cases when we need more context about the result of operation execution. For example, when we initialize a cursor we need to pin the selected server to that cursor. Today we depend on the side-effect that selected servers are saved as a property onto an operation after execution. Instead, we should improve executeOperation to conditionally return an ExecutionResult.

            Assignee:
            Unassigned Unassigned
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: