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

Mark owner on DriverSessionOptions as optional

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.0.0
    • Affects Version/s: 4.0.0
    • Component/s: Shell
    • None

      I’m running into the issue that owner is not marked as optional in ClientSessionOptions, even though the user would not be expected to provide that option directly to startSession.

      NOTE: if this cannot be marked as optional, please let me know what the shell needs to send for this option when calling startSession. We can store a Symbol.for('@@mongosh.shellSession') locally and pass it each time we start a session?

       

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: