feat(validation): read a raw option with options as a bool-or-dict toggle

This commit is contained in:
2026-10-05 18:52:59 +02:00
parent b6620260d5
commit 881c20e4da
2 changed files with 18 additions and 1 deletions
+12
View File
@@ -102,3 +102,15 @@ inputs_fixtures:
expect:
- "fixture.gate.portz: unsupported key, fixture.gate accepts port"
- "fixture.gate.port: expected int, got str"
- name: raw-gate-true
value:
name: web01
gate: true
expect: []
- name: raw-gate-string-rejected
value:
name: web01
gate: "yes"
expect: ["fixture.gate: expected bool or dict, got str"]