A schema that will not load never rewrites stored parameters
A momentary failure to load a node type's declared schema once looked exactly like "this node type declares nothing", and a save then wrote that emptiness back as permanent configuration loss.
The rule
- A declared parameter schema that fails to load, that is not a valid schema (SCH-24), or that loads without a usable
propertiesmap, MUST NOT be read as a node type declaring nothing; a node type with no parameters declares an empty map, and an absent map loses stored rows exactly as a failure does. - Where a node type has stored parameter configuration that such a schema would drop, the save MUST be refused.
- Nothing MUST be rewritten in that case.
- Where nothing is stored there is nothing to lose, and the rest of the editing surface stays reachable.
- A write path that is reachable without that refusal MUST write the stored configuration back verbatim rather than the accidentally empty computed one.
- Such a write path MUST leave reserved-port exposure untouched.
- Only the render path MAY treat an unloadable schema as no properties, where that correctly means render no rows.
What it means
A node type's declared parameter schema failing to load and a node type genuinely declaring no parameters produce the same shape — an empty or missing map — so the two are not interchangeable. Only where stored configuration would actually be lost does the save refuse; the two failure shapes, a schema that raises an error and one that loads but without a usable map, are treated identically, both refusing the save rather than writing the accidentally empty result back.
Example
A node type's stored parameters, edited again after its schema starts raising an error on load:
{
"loop_back": { "configurable": false, "connectable": true, "required": false, "exposed_by_default": true },
"query": { "configurable": true, "connectable": true, "required": true, "exposed_by_default": true, "default": "cats" }
}The same stored parameters survive just as untouched when the schema loads without raising, but comes back with no usable properties map:
{ "loop_back": { "configurable": false, "connectable": true, "required": false, "exposed_by_default": true } }