Skip to content

Conversation

@bernardarhia
Copy link
Contributor

@bernardarhia bernardarhia commented Mar 23, 2024

The update method was removed in v7.2 along with the middleware/hook it comes with. However the current v8 docs still shows that udpate hook is supported, which is invalid.

I had an issue after upgrading from v6 - v8 with the update hook. The docs misled me and it took me about 5hours before I got to know that update is no longer supported in v8.

@bernardarhia bernardarhia changed the title --- Removed unused hook from doc --- Removed unused hook from docs Mar 23, 2024
@bernardarhia bernardarhia changed the title --- Removed unused hook from docs Removed unused hook from docs Mar 23, 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 added this to the 8.2.4 milestone Mar 26, 2024
@vkarpov15 vkarpov15 added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Mar 26, 2024
@vkarpov15 vkarpov15 merged commit 9c1fa22 into Automattic:master Mar 26, 2024
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.

2 participants