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

fix(model): allow passing validateBeforeSave option to bulkSave() to skip validation #15161

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

vkarpov15
Copy link
Collaborator

Fix #15156

Summary

Support validateBeforeSave option for bulkSave(), equivalent to the same option for save(). Also fixed an issue where bulkSave() currently validates document twice when inserting new doc.

Examples

@vkarpov15 vkarpov15 added this to the 8.9.4 milestone Jan 6, 2025
@vkarpov15 vkarpov15 merged commit b224e29 into master Jan 8, 2025
79 checks passed
@hasezoey hasezoey deleted the vkarpov15/gh-15156 branch January 8, 2025 19:58
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.

Allow to skip validation on bulkSave
2 participants