An explicit null at a higher priority wins
Sending null is a decision, not a silence. A node that emits null on a wire has said something, and what it said beats whatever the author saved.
The rule
- At every priority, a value MUST count as supplied when a key of the parameter's name is present, whatever that key's value.
- An explicit
nulltherefore MUST win over any lower priority: anulldelivered on a wire beats the author's saved config, and anullin the saved config beats the schema default. - This MUST hold identically however a workflow is executed.
What it means
An assumption a careless reader might carry over from ordinary code is that null means "nothing here" and so falls through to whatever comes next. This rule refuses that: presence is what counts, not the value behind it. A wire, the saved config, and the schema default are each checked the same way — does a key of the parameter's name exist at all — and an explicit null at a higher priority satisfies that check exactly as any other value would. A null delivered on a wire therefore beats the author's saved config outright, and a null saved in config beats the schema default, in both cases exactly as if a non-null value had arrived.
Example
A node's output for the wired port is explicitly null:
{"out": null}{"data": null}The key survives as a present, null entry rather than disappearing — which is what lets priority 1 claim it instead of falling through to the saved config.
Why
Recorded under OPEN-25.
Fixtures
Test cases whose outcome this rule decides. A case compares absent, null and empty members exactly; the fixtures README defines each operation. Where a case and the rule disagree, the rule is right.
A null in the saved config beats the default resolve-parameters
{ "given": { "parameters": { "x": { "schema": { "type": [ "string", "null" ], "default": "schema" }, "default": "node type", "connectable": true, "exposed": true, "configurable": true } }, "config": { "x": null } }, "expect": { "resolved": { "x": null } } }A null is supplied, so a skip parameter does not skip resolve-parameters
{ "given": { "parameters": { "x": { "schema": { "type": [ "string", "null" ] }, "required": true, "when_missing": "skip", "connectable": true, "exposed": true, "configurable": true } }, "inputs": { "x": null } }, "expect": { "resolved": { "x": null } } }A null on the wire beats the author's saved value resolve-parameters
{ "given": { "parameters": { "x": { "schema": { "type": [ "string", "null" ] }, "connectable": true, "exposed": true, "configurable": true } }, "config": { "x": "saved" }, "inputs": { "x": null } }, "expect": { "resolved": { "x": null } } }