Skip to content

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

Merged
vkarpov15 merged 1 commit intomasterfrom
vkarpov15/gh-15156
Jan 8, 2025
Merged

fix(model): allow passing validateBeforeSave option to bulkSave() to skip validation#15161
vkarpov15 merged 1 commit intomasterfrom
vkarpov15/gh-15156

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