Skip to content

Conversation

@AbdelrahmanHafez
Copy link
Collaborator

Add JSDoc for overwriteImmutable, missed in #15819

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds JSDoc documentation for the overwriteImmutable option for updateOne and updateMany operations in the bulkWrite() method. This option was implemented in PR #15819 but the documentation for these specific operations was missed.

  • Adds JSDoc for ops.updateOne.overwriteImmutable option in bulkWrite
  • Adds JSDoc for ops.updateMany.overwriteImmutable option in bulkWrite

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <[email protected]>
@AbdelrahmanHafez AbdelrahmanHafez added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Dec 9, 2025
@vkarpov15 vkarpov15 modified the milestones: 8.20.3, 9.0.2 Dec 10, 2025
@vkarpov15 vkarpov15 merged commit eff0bb1 into master Dec 10, 2025
50 checks passed
@vkarpov15 vkarpov15 deleted the docs/overwrite-immutable branch December 10, 2025 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs This issue is due to a mistake or omission in the mongoosejs.com documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants