Skip to main content

merge_value

Function merge_value 

Source
fn merge_value(
    name: &str,
    current: Option<&Tv>,
    write: &Tv,
) -> Result<Value, StateError>
Expand description

merge: a shallow object merge, w’s keys winning. A merge channel holds objects, so the first write must be one too.