Skip to content

Conversation

@vkarpov15
Copy link
Collaborator

Summary

It looks like with findOne(), findOneAndDelete(), and findOneAndUpdate() Mongoose double calls query transform() functions. This PR removes the obsolete _wrapThunkCallback() function that causes this issue.

Examples

@vkarpov15 vkarpov15 merged commit 889a41d into master Jan 7, 2024
@hasezoey hasezoey deleted the vkarpov15/gh-14236 branch January 7, 2024 16:57
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.

3 participants