Conversation
Co-authored-by: sam.willis <[email protected]>
|
Cursor Agent can help with this pull request. Just |
|
More templates
@tanstack/db
@tanstack/db-ivm
@tanstack/electric-db-collection
@tanstack/query-db-collection
@tanstack/react-db
@tanstack/solid-db
@tanstack/svelte-db
@tanstack/trailbase-db-collection
@tanstack/vue-db
commit: |
|
Size Change: +140 B (+0.22%) Total Size: 64.8 kB
ℹ️ View Unchanged
|
|
Size Change: 0 B Total Size: 1.16 kB ℹ️ View Unchanged
|
- Move chained joins test to join type test structure - Add chained joins test for all join types (inner, left, right, full) - Add incremental update testing for middle and latter collections - Verify live query updates work correctly with chained joins - Test both autoIndex off and eager modes
|
replaced by #511 |
Fix query builder validation to allow chained joins where subsequent joins reference previously joined collections.
The
analyzeJoinExpressionsfunction incorrectly assumed that join conditions must always reference the original base table and the newly joined table. This prevented valid chained join scenarios where a join condition correctly referenced a table introduced by a previous join. The fix updates the validation to consider all currently available table aliases for the "main" side of a join.