-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix case where multiple sections with same settings could modify shar…
…ed configuration (#48) * Fix case where multiple sections with same settings could modify shared configuration * Optimize safe merge of overridden settings - Add safe option to mergeDeep that prevents mutation from to object - Use safe option in non-hot code paths
- Loading branch information
Showing
4 changed files
with
72 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[ | ||
{ | ||
"settings": ["master"], | ||
"foo": null, | ||
"bar": 0, | ||
"baz": false, | ||
"oof": 4, | ||
"rab": 5, | ||
"zab": 6, | ||
"__ycb_source__": "tests/fixtures/simple-4.json" | ||
}, | ||
{ | ||
"settings": ["lang:fr,es"], | ||
"foo": 1, | ||
"bar": 2, | ||
"baz": 3, | ||
"oof": null, | ||
"rab": 0, | ||
"zab": false, | ||
"__ycb_source__": "tests/fixtures/simple-4.json" | ||
}, | ||
{ | ||
"settings": ["lang:es"], | ||
"foo": 3, | ||
"__ycb_source__": "tests/fixtures/simple-4.json" | ||
} | ||
] |
This file contains 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