Skip to content

Commit 4fe8f01

Browse files
committed
docs(changeset): say what the merged describes say about the picker
The picker now resolves { $record } in a record form, so the last paragraph no longer says the marker stays on a picker half that does not resolve it. Claude-Session: https://claude.ai/code/session_01FEkQ5kgF3mo9f7LXuv5hac Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e3775ec commit 4fe8f01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.changeset/34199-record-reference-refused-by-name.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ A `lookupFilters` entry may read the record being edited as `{ $record: "field"
1616
- Now: that shape is refused by name before any driver is asked, on every engine verb and in the analytics service, whether or not the filter also holds a string placeholder. On the engine's object path the other five operators (`{ valid_from: { $lte: { $record: "…" } } }`) and the eq shorthand on a date, datetime or time column are still refused one door earlier, in that door's own words, as before. The engine lowers a `[field, op, value]` array `where` before the pass, so there the array spelling is judged as its object form; the analytics service hands the pass its `where` unlowered, and the pass leaves a tuple to the doors that judged it before.
1717
- Unchanged: a `{ $record }` deeper inside a comparand is a deep-equality literal (or a nested-relation condition) and passes through as before, in either spelling: the object form `{ attachment: { meta: { $record: "x" } } }`, which driver-memory still compares whole, and the tuple `['attachment', '=', { meta: { $record: "x" } }]`, whose third member is a comparand, never a filter node. Both come back from the pass by reference (pinned as CONTROLs on `resolveFilterTokens`).
1818

19-
The `lookupFilters` describes now say what holds on every path: an unresolved `{ $record }` is refused with `INVALID_FILTER`, never read as null, and by name on the eq shorthand of a column other than a date, datetime or time column. The `[PLANNED — not enforced]` marker stays on the picker half, which does not resolve `{ $record }` or read `orEmpty` yet.
19+
The `value` and `lookupFilters` describes now say what holds on the server: an unresolved `{ $record }` is refused with `INVALID_FILTER`, never read as null, and, in `lookupFilters`, by name on the eq shorthand of a column other than a date, datetime or time column. Their picker sentences (a record form sends the referenced value; every other picker host leaves the entry out) are not changed by this entry.

0 commit comments

Comments
 (0)