Closed simonnilsson closed 4 years ago
This error seems to have been added in mongodb driver 3.6.0, released 4 days ago. https://github.com/mongodb/node-mongodb-native/releases/tag/v3.6.0
[NODE-2660] - Throw an error if bulk update documents don't contain update operator expressions
So this module needs to declare required version to be less than 3.6.0 or update code to do this correctly.
Made a pull-request with fix #49.
Looks like tests fail on other unchanged code, they pass when I run them locally.
@simonnilsson Tests are passing. What kind of error you got?
@robertsLando Not sure, github said checks failed but now they say all passed. May have been a temporary glitch.
@simonnilsson This fix is available in version 8.1.0
on npm now, thanks :pray:
System Information
Describe the bug mongodb module throws this error when making a subscription from client: