-
Type: Bug
-
Resolution: Fixed
-
Priority: Critical - P2
-
Affects Version/s: 3.0.10
-
Component/s: Core, Operations Layer
-
Empty show more show less
With upgrade to 3.* we have modified all our calls to updateOne to replace whole document (as updates now can't take whole document) with findOneAndReplace.
But these methods don't honor the setting ignoreUndefined causing severe issues in production applications.
Please fix this at the earliest and issue a release.
Have gone through collection.js and actullay found this option check missing. There should be an elegant way to handle this rather than check with each method.