databricks-cli/libs/config/merge
Pieter Noordhuis 8e1156edbd
Function to merge two instances of `config.Value` (#938)
## Changes

Semantics for merging two instances of `config.Value`:
* Merging x with nil or nil with x always yields x
* Merging maps a and b means entries from map b take precedence
* Merging sequences a and b means concatenating them

These are the same semantics that we use today when calling into mergo
in `bundle/config`.

## Tests

Unit tests pass.
2023-11-03 19:15:47 +00:00
..
merge.go Function to merge two instances of `config.Value` (#938) 2023-11-03 19:15:47 +00:00
merge_test.go Function to merge two instances of `config.Value` (#938) 2023-11-03 19:15:47 +00:00