pub fn apply_patch_with_registry(
doc: &Value,
patch: &Patch,
registry: &LatticeRegistry,
) -> TireaResult<Value>Expand description
Apply a patch 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.