-
Notifications
You must be signed in to change notification settings - Fork 74
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
Remove null values in nested objects #353
Remove null values in nested objects #353
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve this PR. Let's merge as-is.
I think it needs some more work, no? |
LMAO! 😂 still not sure if it's a joke though.
Yes, it needs more work, just added the TODO comment so far... |
All tests are passing and there are no performance regressions. I think we're good here 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
I would remove lodash from the fast merge function. That kills Hermes optimisations and we merge quite frequently.
@marcaaron @tgolen i'll let you guys decide if we want to omit |
This PR is blocking some of the TS migration issues (example). Any idea when we can expect this PR to be merged? @chrispader |
@marcaaron @tgolen feel free to merge this whenever you think it's ready 👍 Just removed the underscore where possbile, so this should be good to go |
Sounds good to me 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noticed a small typo otherwise LGTM 👍
Co-authored-by: Marc Glasser <marc.aaron.glasser@gmail.com>
fixed! @marcaaron |
…-object-keys Revert pull request #353 remove-nested-nullish-object-keys
Sounds good. I merged the revert. |
…ader/remove-nested-nullish-object-keys"" This reverts commit f3a08f7.
@tgolen @blazejkustra @marcaaron @thienlnam
Details
At the moment, we only remove nullish values (
undefined
andnull
) for top-level keys in objects when merging.In this Slack thread we agreed to also remove nullish values from nested objects.
Related Issues
#301
Automated Tests
Linked PRs