A node's output must be 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
- 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.
- The check covers the node's full output, including values its type does not expose.
- A violation is a node-level error naming the node, its type, the dotted path to the offending leaf and the offending type; the resulting error output is not retryable and follows the ordinary error-edge-or-fail path.
Why
Recorded under OPEN-19.
Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0-draft · ERR-6 · changed in spec 1.0