Eva Marco 42da392e47 ⚡ Validate only the variant container in variant generators
Validating a variant container already checks each of its main
instances, so listing the mains next to it repeated the work. Each id
costs a pass over the whole page, so a variant with N components cost
N+1 passes per call, and each error was reported twice.

The generators in variant_properties now validate only the container.
generate-update-property-value and generate-set-variant-error fall back
to the main instance when the component is not a variant. Before, they
emitted a nil id, which fails the :validate-shapes schema.

Add a test that generate-set-variant-error on a component that is not a
variant produces valid changes.

AI-assisted-by: claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 16:45:39 +02:00
..
2026-09-22 10:22:31 +02:00
2026-09-25 11:11:44 +02:00
2026-09-22 10:22:31 +02:00
2026-03-11 15:24:40 +01:00