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

Running an emtpy bulk operation throws a TypeError

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 4.0.0
    • Component/s: Shell
    • None

      This may be intentional, if so please feel free to close. The 3.6 driver threw a MongoError when you tried to run an empty BulkOp, the 4.0 driver throws a TypeError. This is a super minor insignificant change but just in case it was unintentional I wanted to make a ticket so I would be notified if the behavior changed back to MongoError, as that would break our tests.

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

              Created:
              Updated:
              Resolved: