Commit 83a4a32
list_issues legacy snap: restore strict field_filters Required to match main
The legacy variant's field_filters items schema was loosened from
['field_name', 'value'] (main) to ['field_name'] (MS-aware) when I
collapsed the two schemas into the buildListIssues helper. The MS-aware
loosening is correct (either 'value' or 'values' is acceptable, enforced
at runtime in parseRawFieldFilters), but the legacy variant has no
'values' slot so it should keep 'value' required outright.
The runtime parser still rejects missing value in either variant, so
this was a schema-strictness regression rather than a behavioural one,
but worth fixing — the legacy snap is now byte-identical to main's
list_issues.snap, which is the right invariant: legacy variant === main.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b9f6265 commit 83a4a32
2 files changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2485 | 2485 | | |
2486 | 2486 | | |
2487 | 2487 | | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
2488 | 2496 | | |
2489 | 2497 | | |
2490 | 2498 | | |
| |||
2528 | 2536 | | |
2529 | 2537 | | |
2530 | 2538 | | |
2531 | | - | |
| 2539 | + | |
| 2540 | + | |
| 2541 | + | |
| 2542 | + | |
| 2543 | + | |
2532 | 2544 | | |
2533 | 2545 | | |
2534 | 2546 | | |
| |||
0 commit comments