Skip to main content

strip_internal_parameters

Function strip_internal_parameters 

Source
pub fn strip_internal_parameters(params: &mut BTreeMap<String, Parameter>)
Expand description

Remove internal wire-protocol keys (SCHEMA_HASH, FRAMING) from a parameter map. Call this at every wire→user boundary: the keys are meaningless after decode, and a stale SCHEMA_HASH forwarded from an input’s metadata into send_output parameters (a standard pattern, e.g. replay) would ride onto outputs that don’t overwrite it, making receivers hash-mismatch and silently drop them (dora-rs/dora#2366 review).