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 getAllSubdocs() to public API #9545

Closed
vkarpov15 opened this issue Nov 13, 2020 · 1 comment
Closed

Add getAllSubdocs() to public API #9545

vkarpov15 opened this issue Nov 13, 2020 · 1 comment
Assignees
Labels
enhancement This issue is a user-facing general improvement that doesn't fix a bug or add a new feature
Milestone

Comments

@vkarpov15
Copy link
Collaborator

Right now Mongoose documents have an internal $__getAllSubdocs() function that returns an array of all single nested subdocuments and document array elements. We should add that to the public API because this function is useful for cases like #9525

@vkarpov15 vkarpov15 added the enhancement This issue is a user-facing general improvement that doesn't fix a bug or add a new feature label Nov 13, 2020
@vkarpov15 vkarpov15 added this to the 5.x Unprioritized milestone Nov 13, 2020
@vkarpov15 vkarpov15 modified the milestones: 5.x Unprioritized, 5.12 Dec 13, 2020
@vkarpov15
Copy link
Collaborator Author

Fixed by #9764

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue is a user-facing general improvement that doesn't fix a bug or add a new feature
Projects
None yet
Development

No branches or pull requests

2 participants