Vinicius Brasil
7bb9bc7e1a
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Vulnerability Scan / pip-audit (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Discriminate FlowDefinition state types ( #6196 )
...
Replace the single FlowStateDefinition model with a `type`-discriminated
union of FlowDictStateDefinition, FlowPydanticStateDefinition,
FlowJsonSchemaStateDefinition, and FlowUnknownStateDefinition.
Each branch only carries the fields it actually uses and forbids extras,
so an invalid combination like a `dict` state with a `ref` now fails
validation instead of being silently accepted. The runtime reads `ref`
and `json_schema` defensively since they no longer exist on every branch.
```yaml
state:
type: json_schema
json_schema:
type: object
properties:
topic:
type: string
```
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-16 21:31:07 -07:00
..
2026-05-26 10:23:33 -07:00
2026-06-14 04:19:48 -03:00
2026-06-03 11:53:16 -07:00
2026-06-15 18:46:54 -03:00
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2026-06-10 18:39:05 -07:00
2026-05-28 09:38:10 -07:00
2026-05-26 10:23:33 -07:00
2026-06-14 04:19:48 -03:00
2026-06-14 04:19:48 -03:00
2026-05-27 13:38:25 -07:00
2026-06-14 04:19:48 -03:00
2025-11-29 16:55:24 -05:00
2026-06-16 18:45:26 -03:00
2026-06-14 04:19:48 -03:00
2026-05-26 10:23:33 -07:00
2026-05-28 09:38:10 -07:00
2026-02-13 21:34:37 -03:00
2026-05-04 18:42:12 +08:00
2026-06-15 09:34:01 -07:00
2026-06-02 17:14:51 -07:00
2026-06-03 11:53:16 -07:00
2026-06-16 11:00:07 -07:00
2025-10-20 14:10:19 -07:00
2026-03-15 18:33:17 -07:00
2026-06-14 04:19:48 -03:00
2026-05-26 10:23:33 -07:00
2026-05-06 20:46:46 +08:00
2026-06-12 21:56:02 -07:00
2026-01-22 17:44:03 -08:00
2026-05-27 13:20:53 -07:00
2025-10-20 14:10:19 -07:00
2026-06-16 18:45:26 -03:00
2026-05-26 10:23:33 -07:00
2026-06-10 16:12:28 -07:00
2026-05-26 10:23:33 -07:00
2026-06-10 16:49:16 -07:00
2026-05-26 10:23:33 -07:00
2026-06-16 21:31:07 -07:00
2026-06-16 12:59:48 -07:00
2026-05-26 10:23:33 -07:00
2026-01-23 15:13:25 -05:00
2026-06-08 21:14:13 -05:00
2026-05-26 10:23:33 -07:00
2025-10-20 14:10:19 -07:00
2026-06-12 12:55:22 -04:00
2026-06-11 14:18:49 -07:00
2026-06-11 14:18:49 -07:00
2026-04-28 14:57:49 +08:00
2025-10-20 14:10:19 -07:00
2026-06-14 04:19:48 -03:00
2026-06-14 04:19:48 -03:00
2025-10-20 14:10:19 -07:00
2026-06-05 07:23:38 -04:00
2026-06-14 04:19:48 -03:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2026-05-26 10:23:33 -07:00
2026-06-14 04:19:48 -03:00
2026-05-26 10:23:33 -07:00
2026-05-26 10:23:33 -07:00
2026-05-26 10:23:33 -07:00
2026-04-01 18:08:37 -03:00