Commit 84a7b47
committed
fix: replace z.undefined() with z.never() for JSON Schema compat
Zod v4 cannot represent z.undefined() in JSON Schema, causing the
release workflow schema generation to fail. Replace with z.never()
in the AB test variant XOR union — semantically equivalent for
validation but serializable to JSON Schema.1 parent 839b32b commit 84a7b47
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments