Skip to content

A node's output is serializable throughout

Checked over the node's whole output, before any unexposed value is filtered out, so a value the node type does not expose is policed exactly like one it does.

The rule

Normative: this is the rule
  1. Every leaf of a node's output MUST be a JSON value: a string, number, boolean, null, an array, or an object with a defined JSON representation.
  2. The check MUST cover the node's full output, including values its type does not expose.
  3. A violation MUST be a node-level error naming the node, its type, the dotted path to the offending leaf and the offending type.
  4. The resulting error output MUST NOT be retryable.
  5. The resulting error output MUST follow the ordinary error-edge-or-fail path.

Why

Recorded under OPEN-19, OPEN-25.

Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · ERR-6 · changed in spec 1.0