notes/deep_merge_exploration.org
This commit is contained in:
parent
eb30861341
commit
d1653adc61
1 changed files with 5 additions and 0 deletions
|
@ -28,3 +28,8 @@ As the application becomes more and more complex, the configuration file
|
|||
also grow in complexity.
|
||||
At first, this is just a list of properties, but it is frequent to use
|
||||
json, yaml (dhall if you are in this kind of thing).
|
||||
|
||||
And a common usage would be to provide default values for the
|
||||
configuration.
|
||||
Instead of putting the default value manually in your code a nice
|
||||
alternative is to "merge" the user config with a default config.
|
||||
|
|
Loading…
Reference in a new issue