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

Add documentation for calling schema.post() with async function #14514

Merged
merged 3 commits into from
Apr 10, 2024

Conversation

vkarpov15
Copy link
Collaborator

Summary

Docs and test case re: #14305. The clearest issue reported in #14305 is that our middleware docs has no examples of using async functions for post hooks.

Examples

@hasezoey hasezoey added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Apr 10, 2024
@vkarpov15 vkarpov15 merged commit e35fc63 into master Apr 10, 2024
4 checks passed
@vkarpov15 vkarpov15 added this to the 8.3.2 milestone Apr 10, 2024
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-14305 branch April 10, 2024 14:34
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