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

ChangeStream resumeOptions are not constructed correctly

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • 2
    • Not Needed

      What problem are you facing?

      The following options do not exist on this.options inside of the ChangeStreamCursor class, but the Reflect/get/set code avoid typescript assertions to warn us of this.

            fullDocument: this.options.fullDocument,
            maxAwaitTimeMS: this.options.maxAwaitTimeMS,
            collation: this.options.collation,
      

      We should refactor the code and get the correct values for these options.

      What driver and relevant dependency versions are you using?

      v4.4.1

      Steps to reproduce?

            Assignee:
            bailey.pearson@mongodb.com Bailey Pearson
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: