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

Removed unused hook from docs #14461

Merged
merged 1 commit into from
Mar 26, 2024
Merged

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
2 checks passed
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