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

Fix "session" typescript typing for "insertOne" options.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Not Needed

      I noticed most command operations extend the common interface of "CommandOperationOptions" which already inherits BSONSerializeOptions, WriteConcernOptions, and supports "session" typings.

       

      Let me know if this is all that was needed:

       

      https://github.com/mongodb/node-mongodb-native/pull/2816/files

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            jordan@andalways.com Jordan Stout
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: