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

Mark owner on DriverSessionOptions as optional

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Component/s: Shell
    • Labels:
      None

      Description

      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?

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: