apply_workspace_meta_updated

Function apply_workspace_meta_updated 

Source
fn apply_workspace_meta_updated(
    wstore: &WaveStore,
    workspace_id: &str,
    meta_patch: &Value,
) -> Result<(), Box<dyn Error>>
Expand description

Phase E.5.3 — apply a meta-patch to a workspace’s meta map. Reducer doesn’t track meta in WorkspaceRecord; this subscriber is the sole authority that mutates persisted meta. Patch is a JSON object that merges shallow-key-by-shallow-key on top of the existing meta. null values in the patch delete the key.