Skip to content

Conversation

@AbdelrahmanHafez
Copy link
Collaborator

fixes #9157

@AbdelrahmanHafez AbdelrahmanHafez changed the title test: repro #9157 fix(model): fix conflicting $setOnInsert default values with update values in bulkWrite Jun 21, 2020
@vkarpov15 vkarpov15 added this to the 5.9.20 milestone Jun 22, 2020
Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@vkarpov15 vkarpov15 merged commit 8a8ff91 into Automattic:master Jun 22, 2020
@AbdelrahmanHafez
Copy link
Collaborator Author

Happy to help 👍

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.

BulkWrite with setDefaultsOnInsert:true throws error

2 participants