Repository navigation
Commit 02acc73
committed
fix(go): refuse a JSON field with no target in Plan.Validate
The engine refuses a json field that names no target (json_needs_target)
after the plan crosses the guest. Validate already refused target options
without a target; it now refuses a JSON document with no target too, and
names the field before the guest is asked.
Claude-Session: https://claude.ai/code/session_01N7bCqa3ZVJMcEE99RzVqEu1 parent 20f099e commit 02acc73
2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
335 | 341 | | |
336 | 342 | | |
337 | 343 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
215 | 219 | | |
216 | 220 | | |
217 | 221 | | |
| |||
0 commit comments