Commit abc4b83
docs(spec): search-fields docblock says $icontains, the operator the engine emits (#17572)
* docs(spec): search-fields docblock says $icontains, the operator the engine emits
The module docblock claimed `expandSearchToFilter` expands a `$search` term
into an `$or` of `$contains` clauses. It has compiled to `$icontains` since
#7641; `packages/objectql/src/search-filter.ts:23` carries the ruling and both
return paths of `fieldClausesForTerm` (:109, :111) emit `$icontains`.
The distinction matters to a reader of this module because `$contains` is
contractually case-SENSITIVE (#4706 Q2 = A): anyone who built an ingress gate,
a test or a driver against the old sentence built one STRICTER than the
platform — a false refusal, not a leak. That is now stated in one clause.
The sibling INGRESS sentence two lines below was measured and is unchanged.
Claude-Session: https://claude.ai/code/session_01MkQhmuuJAVDjmeWNixwDDH
Co-authored-by: Claude <noreply@anthropic.com>
* chore(changeset): declare the search-fields docblock correction as a spec patch
`@objectstack/spec`'s published `files[]` ships `dist`, and this TSDoc is
emitted into `dist/data/index.d.ts` and `dist/data/index.d.mts` -- measured on
the built artifact, so published content moves and `skip-changeset` is not
available.
Claude-Session: https://claude.ai/code/session_01MkQhmuuJAVDjmeWNixwDDH
Co-authored-by: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent ef18030 commit abc4b83
2 files changed
Lines changed: 42 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
0 commit comments