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

Added typescript support for arbitrary fields for the options parameter of Model functions which are of type MongooseQueryOptions #14342

Merged
merged 2 commits into from Feb 8, 2024

Conversation

FaizBShah
Copy link
Contributor

Fixes - #14341

Summary

Fixed the issue of unable to add arbitrary fields in the options object for Model functions whose options parameter had the type of MongooseQueryOptions, such as deleteMany, deleteOne, replaceOne, updateMany, updateOne, etc.

@vkarpov15 vkarpov15 added this to the 8.1.2 milestone Feb 8, 2024
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 f164b44 into Automattic:master Feb 8, 2024
3 checks passed
@FaizBShah
Copy link
Contributor Author

Thanks 👍

You're welcome :D

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.

None yet

2 participants