Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() #14599

Open
wants to merge 1 commit into
base: 6.x
Choose a base branch
from

Conversation

vkarpov15
Copy link
Collaborator

Backport #13410
Backport #14587
Fix #14572

Summary

I didn't notice that #14572 reported an issue in 6.x. To fix, we need to backport #13410 from 7.2.0 into 6.x, and make a new minor release for 6.x.

Examples

…g MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany()

Backport #13410
Backport #14587
Fix #14572
@vkarpov15 vkarpov15 added this to the 6.13.0 milestone May 16, 2024
Copy link
Collaborator

@hasezoey hasezoey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants