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

Export omitUndefined() function similar to what cast$expr has #14569

Closed
vkarpov15 opened this issue May 5, 2024 Discussed in #14547 · 0 comments
Closed

Export omitUndefined() function similar to what cast$expr has #14569

vkarpov15 opened this issue May 5, 2024 Discussed in #14547 · 0 comments
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

We already have an internal _omitUndefined() function that would be useful for deleting keys that are === undefined for cases like #14547.

@vkarpov15 vkarpov15 added this to the 8.4 milestone May 5, 2024
@IslandRhythms IslandRhythms added the enhancement This issue is a user-facing general improvement that doesn't fix a bug or add a new feature label May 7, 2024
vkarpov15 added a commit that referenced this issue May 11, 2024
feat(mongoose): export omitUndefined() helper
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