throwOnValidationError for bulkWrite()
and insertMany()
#13256
Labels
enhancement
This issue is a user-facing general improvement that doesn't fix a bug or add a new feature
new feature
This change adds new functionality, like a new method or class
Milestone
Prerequisites
🚀 Feature Proposal
See #13218 (comment)
Will opt in to throwing an error if one of the ops failed validation, but all valid ops completed successfully
Motivation
Currently,
insertMany()
andbulkWrite()
don't throw an error if there were validation errors, but all valid ops succeeded. This is a bit messy and inconsistentExample
See proposal
The text was updated successfully, but these errors were encountered: