Skip to content

Commit 9425cae

Browse files
committed
docs(spec): the dataset carrier's $ne note states what ruling A on #19886 now refuses
#20204 refuses a list under $ne at the shared face and at FieldOperatorsSchema.$ne; the save door does not judge it yet (#20116). The docblock and one test label said no ruling decided it. Wording only. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QcAS3qiYYZNezaxZxaUdMV
1 parent a053bfc commit 9425cae

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎packages/spec/src/ui/dataset-filter-nested-relation-list.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ describe('#20080 §4 — what a nested relation may still carry', () => {
206206
['$in: [] stays the declared predicate', { account: { region: { $in: [] } } }],
207207
['$nin keeps its list', { account: { region: { $nin: ['a'] } } }],
208208
['$between keeps its pair', { account: { score: { $between: [1, 9] } } }],
209-
['$ne carrying a list — no ruling decides it', { account: { region: { $ne: ['a'] } } }],
209+
['$ne carrying a list — refused at the shared face (ruling A, #19886), not yet at this save door (#20116)', { account: { region: { $ne: ['a'] } } }],
210210
['a scalar under $and', { $and: [{ account: { region: 'a' } }] }],
211211
])('%s', (_label, filter) => {
212212
const scoped = DatasetSchema.safeParse(withScope(filter));

‎packages/spec/src/ui/dataset.zod.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,11 @@ function isAnalyticsNestedRelationSpec(spec: unknown): spec is Record<string, un
156156
* `path` carries it (`filter.account.region`,
157157
* `measures.0.filter.account.region.$eq`).
158158
*
159-
* ⛔ Not judged here: `$ne` carrying a list (no ruling decides it); the list
159+
* ⛔ Not judged here: `$ne` carrying a list — refused at the shared comparand
160+
* face and at `FieldOperatorsSchema.$ne` under ruling A on #19886 (record
161+
* 5805254639), and on the analytics door's hand-over of a nested entry, but
162+
* not yet at this save door or `FilterConditionSchema`'s: that stored-filter
163+
* arm is #20116's (moved there by record 5854888976); the list
160164
* operators, which keep their lists (`$in: []` / `$nin: []` included); every
161165
* scalar, `null` included; and the face's OTHER arms inside a nested relation
162166
* (a malformed `$in`, a `null` ordering comparand, a `$between` endpoint),

0 commit comments

Comments
 (0)