-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Bulk operation failures used to be presented to users in a non idiomatic fashion, calling the async callback with (Error, BulkWriteResult), assuming the user remembered to check the second value. Instead we should create a new BulkWriteError type which wraps the result, and only callback with a single value in the error case.