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 5ceec11
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(driver-sql): move the filter compiler's leaf predicate emitters out of sql-driver.ts into sql-driver-predicate-emitters.ts (#25521 cut 16)
applyNormalizedComparison, applyNullSafeNegative, applyEmptyOperator,
applyJsonMembership, applyLike and applyLikePattern, with the module-level
dialect constructs only they read, move unedited into a new seam module
reached through PredicateEmitterHost. The class keeps every method as a stub.
The compile-refusal seam test reads the new module. The four staying links to
unresolvableColumnNameOf resolve again through a type-only import.
Claude-Session: https://claude.ai/code/session_01FEkQ5ncyQ2HYfpr45hwrPU
Co-authored-by: Claude <noreply@anthropic.com>
// ── Half 1: the enumeration ───────────────────────────────────────────────────
274
275
275
276
/**
276
-
* Every function in `sql-driver.ts`, `sql-driver-cross-field-comparison.ts` and
277
-
* `sql-driver-read-exit-fault.ts` that builds an `INVALID_FILTER` error, by the route it takes. Read with the TypeScript parser, not a regex, so a call
277
+
* Every function in `sql-driver.ts`, `sql-driver-cross-field-comparison.ts`,
278
+
* `sql-driver-read-exit-fault.ts` and `sql-driver-predicate-emitters.ts` that builds an `INVALID_FILTER` error, by the route it takes. Read with the TypeScript parser, not a regex, so a call
278
279
* split across lines, an inline `throw`, or a builder written as a method or an
279
280
* arrow cannot slip past the count.
280
281
*/
@@ -287,10 +288,13 @@ function enumerateRefusalBuilders(): {
287
288
// its own seam module with two of the builders below; the scan reads both.
288
289
// [#25521 cut 15] The read exits' fault terminals moved to a third, with
289
290
// `unresolvableFilterColumnError`; the scan reads it too.
291
+
// [#25521 cut 16] The leaf predicate emitters moved to a fourth, with the two
0 commit comments