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

Merged
merged 1 commit into from
Jun 2, 2024

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

@vkarpov15 vkarpov15 merged commit 37e73b8 into 6.x Jun 2, 2024
37 checks passed
@hasezoey hasezoey deleted the vkarpov15/gh-14572-3 branch June 2, 2024 15:57
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.

2 participants