Skip to content

Conversation

@vkarpov15
Copy link
Collaborator

Fix #14275

Summary

8.1 accidentally removed a few Mongoose-specific query options, including runValidators. This PR adds those options back, and adds test to protect against future regression.

Examples

@vkarpov15 vkarpov15 added this to the 8.1.1 milestone Jan 21, 2024
@hasezoey hasezoey added the typescript Types or Types-test related issue / Pull Request label Jan 22, 2024
@vkarpov15 vkarpov15 merged commit 8265b2e into master Jan 22, 2024
@orgads
Copy link
Contributor

orgads commented Jan 22, 2024

Shouldn't there be a difference between update operations and queries?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

typescript Types or Types-test related issue / Pull Request

4 participants