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

Support passing a list of paths to save() #9583

Closed
vkarpov15 opened this issue Nov 25, 2020 · 0 comments
Closed

Support passing a list of paths to save() #9583

vkarpov15 opened this issue Nov 25, 2020 · 0 comments
Labels
new feature This change adds new functionality, like a new method or class
Milestone

Comments

@vkarpov15
Copy link
Collaborator

Like how validate() supports a list of paths to validate, we allow passing an array pathsToSave that tells Mongoose to only validate and save the paths in pathsToSave.

See this Tweet for motivation: https://twitter.com/dreinidaho/status/1331404327412494338

@vkarpov15 vkarpov15 added the new feature This change adds new functionality, like a new method or class label Nov 25, 2020
@vkarpov15 vkarpov15 added this to the 5.x Unprioritized milestone Nov 25, 2020
@vkarpov15 vkarpov15 modified the milestones: 7.x Unprioritized, 8.3 Feb 25, 2024
vkarpov15 added a commit that referenced this issue Mar 20, 2024
feat: `pathsToSave` option to `save()` function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature This change adds new functionality, like a new method or class
Projects
None yet
Development

No branches or pull requests

1 participant