Skip to main content

immutable_diff

Function immutable_diff 

Source
pub fn immutable_diff(
    kind: ResourceKind,
    local: &Value,
    remote: &Value,
) -> Vec<(&'static str, String, String)>
Expand description

Immutable fields whose local and remote values differ — a non-empty result means an in-place PUT cannot reconcile the two documents and the resource must be replaced (delete + recreate). Returns (path, remote value, local value) per differing field. A value missing on one side counts as a difference when the other side has one.