Remove null values in nested objects#353
Conversation
tgolen
left a comment
There was a problem hiding this comment.
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 👍 |
Szymon20000
left a comment
There was a problem hiding this comment.
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 👍 |
marcaaron
left a comment
There was a problem hiding this comment.
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 (
undefinedandnull) 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