Open lien-dkseo opened 1 year ago
MongoDB v5 dropped support for the already-deprecated callback-style approach in favour of async/await: https://github.com/mongodb/node-mongodb-native/pull/3499
Offending line is the use of a callback for a Juggler observer:
AFAIK, Juggler v4 already supports async/await. Hence this should be a straightforward fix.
Steps to reproduce
Current Behavior
Expected Behavior
working code in 6.2.0
Link to reproduction sandbox
Additional information
win32 x64 18.15.0
Related Issues
See Reporting Issues for more tips on writing good issues