Skip to content

several middleware are not documented #10721

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

Closed
clhuang opened this issue Sep 14, 2021 · 0 comments
Closed

several middleware are not documented #10721

clhuang opened this issue Sep 14, 2021 · 0 comments
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Milestone

Comments

@clhuang
Copy link
Contributor

clhuang commented Sep 14, 2021

Do you want to request a feature or report a bug?
documentation issue

What is the current behavior?
https://mongoosejs.com/docs/middleware.html has no mention of countDocuments, estimatedDocumentCount, findOneAndReplace, replaceOne middleware, which are mentioned in https://github.com/Automattic/mongoose/blob/master/lib/query.js

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.

@vkarpov15 vkarpov15 added this to the 6.0.10 milestone Sep 15, 2021
@vkarpov15 vkarpov15 added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Sep 15, 2021
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

No branches or pull requests

2 participants