Skip to content

Conversation

@lukemelia
Copy link
Contributor

@lukemelia lukemelia commented Jan 30, 2026

Summary

  • normalizeQueryDefinition now recursively walks the filter tree to inject on into leaf attribute filters (eq, contains, range) that lack one
  • Combinator filters (not, any, every) are traversed without injection at their level
  • type filters (self-scoping) are skipped
  • Existing on references on leaf filters are preserved

Fixes CS-10126

🤖 Generated with Claude Code

…ryDefinition

Previously, `normalizeQueryDefinition` only injected the `on` reference
at the top-level filter. Combinator filters (not, any, every) left their
inner leaf attribute filters without `on`, producing invalid filter
structures. This adds a recursive walk that injects `on` into each leaf
filter (eq, contains, range) that lacks one, while skipping type filters.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions
Copy link

Preview deployments

@github-actions
Copy link

github-actions bot commented Jan 30, 2026

Host Test Results

    1 files  ±    0      1 suites  ±0   2h 40m 4s ⏱️ + 56m 34s
1 932 tests +    7  1 914 ✅ +    6  17 💤 ± 0  1 ❌ +1 
3 072 runs  +1 132  3 042 ✅ +1 119  29 💤 +12  1 ❌ +1 

For more details on these failures, see this check.

Results for commit 4452a15. ± Comparison against base commit bc47720.

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants