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 $locals to getters/setters tutorial #12550

Closed
2 tasks done
vkarpov15 opened this issue Oct 13, 2022 · 0 comments · Fixed by #12814
Closed
2 tasks done

Add $locals to getters/setters tutorial #12550

vkarpov15 opened this issue Oct 13, 2022 · 0 comments · Fixed by #12814
Assignees
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Milestone

Comments

@vkarpov15
Copy link
Collaborator

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

Some users have been asking about passing parameters to custom getters. The way to do that is using $locals, but getters docs don't have anything about that.

@vkarpov15 vkarpov15 added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Oct 13, 2022
@vkarpov15 vkarpov15 added this to the 6.6.7 milestone Oct 13, 2022
@vkarpov15 vkarpov15 modified the milestones: 6.6.7, 6.6.8, 6.6.9 Oct 21, 2022
@vkarpov15 vkarpov15 modified the milestones: 6.7.3, 6.7.4, 6.7.7 Nov 22, 2022
@vkarpov15 vkarpov15 modified the milestones: 6.8.2, 6.8.1 Dec 19, 2022
@IslandRhythms IslandRhythms linked a pull request Dec 19, 2022 that will close this issue
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 a pull request may close this issue.

2 participants