pub fn apply_patches_with_registry<'a>(
doc: &Value,
patches: impl IntoIterator<Item = &'a Patch>,
registry: &LatticeRegistry,
) -> TireaResult<Value>Expand description
Apply multiple patches to a JSON document using a LatticeRegistry for proper merges.
LatticeMerge ops whose path is registered will perform a real lattice merge;
unregistered paths fall back to Op::Set semantics.