Repository navigation
Commit a17770a
committed
fix(objectql)!: a per-aggregation filter that is not a filter object is refused (#20122)
The seat's amendment to the combined claim folds the per-aggregation
filter's shape door into this card. In the `aggregations[i].filter` loop,
a filter that is neither absent, `null`, a filter object nor an array (a
string, a number, a boolean, `''`, a `Map`, a `Date`) was stepped around
by every door there and then dropped: the aggregation read every row of
its group, with no error.
The loop now opens with the shape gate `where` takes on its own seam,
reusing its accept set (`isWhereFilterObject`) and its words
(`describeNonFilterWhere`), with a consequence clause for this position,
INVALID_FILTER / 400 before any driver call. An array is left to the
doors below, as `where` leaves one to its array branch. The note that
excluded this gate from the loop is removed.
Claude-Session: https://claude.ai/code/session_01Bvd69VPa6puiNzzPUroDBx
Co-authored-by: Claude <noreply@anthropic.com>1 parent 3c2fa82 commit a17770a
3 files changed
Lines changed: 74 additions & 8 deletions
File tree
- .changeset
- packages/objectql/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16090 | 16090 | | |
16091 | 16091 | | |
16092 | 16092 | | |
| 16093 | + | |
| 16094 | + | |
| 16095 | + | |
| 16096 | + | |
| 16097 | + | |
| 16098 | + | |
| 16099 | + | |
| 16100 | + | |
| 16101 | + | |
| 16102 | + | |
| 16103 | + | |
| 16104 | + | |
| 16105 | + | |
| 16106 | + | |
| 16107 | + | |
| 16108 | + | |
| 16109 | + | |
| 16110 | + | |
| 16111 | + | |
16093 | 16112 | | |
16094 | 16113 | | |
16095 | 16114 | | |
| |||
16112 | 16131 | | |
16113 | 16132 | | |
16114 | 16133 | | |
16115 | | - | |
16116 | | - | |
16117 | | - | |
16118 | | - | |
16119 | | - | |
16120 | 16134 | | |
16121 | 16135 | | |
16122 | 16136 | | |
| |||
0 commit comments