Files
ersatztv/scripts/tests
timothy 021f3a4bb9 fix(807): the dotted path I just added could MASK a nested member
Self-attack on the previous commit's new code, in the function every round has
found defective — including, twice now, in the block that fixed the last defect.

Qualifying a nested inline object's members as `parent.child` assumes no property
name contains a dot. JSON permits one. Measured: a schema with a literal `a.b`
member alongside a nested `a` -> `b` collides, and when the literal is `required`
the nested optional member is MASKED — it vanishes from the population entirely.
Silent-miss direction again, introduced by the fix for a silent miss.

Zero dotted property names in the document today, which is exactly the reasoning
that has been wrong five times on this issue, so the assumption is asserted
rather than relied on. The separator is a named constant, the assumptions test
now carries a third clause, and the failure message says what to change instead
of only reporting that a fact moved. Witnessed: planting a schema with an `a.b`
member fires it.

908 passed 2 skipped, ruff format 0.
2026-08-23 01:36:32 +02:00
..