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

docs: update findOneAndUpdate tutorial to use includeResultMetadata #14208

Merged
merged 2 commits into from Jan 2, 2024

Conversation

vkarpov15
Copy link
Collaborator

Summary

findOneAndUpdate docs still use rawResult, and it looks like we had a broken reference to an old test name as well. This PR fixes that.

Fix #14207

Examples

@vkarpov15 vkarpov15 added this to the 8.0.4 milestone Dec 30, 2023
Copy link
Collaborator

@hasezoey hasezoey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, aside from a code-block and a question

docs/tutorials/findoneandupdate.md Outdated Show resolved Hide resolved
@hasezoey hasezoey added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Jan 1, 2024
Co-authored-by: hasezoey <hasezoey@gmail.com>
@vkarpov15 vkarpov15 merged commit 037a823 into master Jan 2, 2024
18 checks passed
@hasezoey hasezoey deleted the vkarpov15/gh-14207 branch January 2, 2024 17:02
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.

Documentation for findOneAndUpdate needs to be updated to replace rawResult option with includeResultMetadata
2 participants