You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a721485
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(driver-sql, plugin-security): read the list-comparand split from the spec
Both modules kept a hand copy of the list operators ($in, $nin, $between).
They now call isListComparandOperator from @objectstack/spec/data, the one
source the comparand faces read. The copies equalled the spec set, so
behaviour is unchanged.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JQwxbYnNFzqeb7KM8Lpd7j
refactor(driver-sql): the comparand bind test reads the list operators from the spec
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
The SQL driver bind-tests each member of a `$in`, `$nin` or `$between` list as a comparand in its own right. It now asks `isListComparandOperator` from `@objectstack/spec/data` which operators take a list, instead of keeping its own copy of `$in` / `$nin` / `$between`. The set is the same, so no filter compiles or is refused differently. A later change to the spec's list operators now reaches this driver without a second edit.
refactor(plugin-security): the RLS stored-form check reads the list operators from the spec
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
The RLS check puts a value comparand into its column's storage form, and a `$in`, `$nin` or `$between` list member by member. It now asks `isListComparandOperator` from `@objectstack/spec/data` which operators take a list, instead of keeping its own copy of `$in` / `$nin` / `$between`. The set is the same, so no policy filter is judged differently. A later change to the spec's list operators now reaches this check without a second edit.
0 commit comments