-
Notifications
You must be signed in to change notification settings - Fork 95
Ignore undefined values in merge queue when merging objects #339
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
Merged
marcaaron
merged 35 commits into
Expensify:main
from
margelo:@chrispader/improve-merge-object-batching
Sep 28, 2023
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
5ec158c
fix: improve merging with batched objects (nullish values ignored pre…
71c528e
fix: fix fastMerge not being able to merge nullish values
bd29273
fix: improve and simplify batched object merging
a9c0463
fix: remove unused util function
39c7784
feat: add new test which tests merging objects and undefined in a batch
e565266
fix: ignore undefined values in a batch of object changes
9460769
feat: bump the peer dependency version of react-native-performance
allroundexperts 050178d
1.0.77
OSBotify 5c04af8
fix: improve comment
d264789
fix: add comment about fastMerge change
5ee0111
Merge branch 'main' into @chrispader/improve-merge-object-batching
36e10a2
fix: remove console.log
7e52d6d
Update lib/Onyx.js
chrispader 40ee983
Testing dependent keys
tgolen f8eec03
Pass withOnyx state to key functions
tgolen 1f5c9b4
Remove unused import
tgolen 1d5b945
Filter out unrelated data before passing state
tgolen ab06288
Add tests for nested dependencies and filter the state before passing
tgolen 0b2d29b
DRY up method
tgolen fc75063
1.0.85
OSBotify 54ae205
fix: don't ignore null values
7bb4657
fix: remove unneccesary comment
5046349
fix: update comment
d8b0573
fix: remove fastMerge.js and update comment
45ecede
fix: update version
37f0423
Merge branch 'main' into @chrispader/improve-merge-object-batching
589b182
feat: add additional test
d3868ea
fix: update variable name
813dc41
fix: null value not overwriting existing value
0122acf
fix: move overwriteExistingValue above merge queue clearing
d8a4fc6
update test
dcf9862
fix: improve null batching
0086b91
fix: ignore undefined values in the first place
cb6d4cc
fix: update onyx test
1d8ee34
fix: remove unused import
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.