Skip to content

Add variable filter tests - #8363

Closed
glen-84 wants to merge 9 commits into
mainfrom
gai/variable-filter-tests
Closed

Add variable filter tests#8363
glen-84 wants to merge 9 commits into
mainfrom
gai/variable-filter-tests

Conversation

@glen-84

@glen-84 glen-84 commented Jun 16, 2025

Copy link
Copy Markdown
Member

Summary

  • Adds tests for in-memory filtering over an expression-backed filter field (latestItem, bound to Items.OrderByDescending(...).Take(1)), verifying the query executes without errors whether the where argument is supplied inline or through a GraphQL variable.

Test plan

  • Without_Variables: where provided inline in the query, asserts no execution errors.
  • With_Variables: the same filter provided via a CollectionFilterInput! variable, asserts no execution errors.

@glen-84
glen-84 marked this pull request as draft June 16, 2025 13:17
@glen-84 glen-84 changed the title Added variable filter tests Add variable filter tests Mar 9, 2026
@glen-84

glen-84 commented Jul 21, 2026

Copy link
Copy Markdown
Member Author

Superseded by #10126, which fixes the underlying variable coercion bug for expression-based filter fields and carries the regression test.

Drafted by Claude (Anthropic AI assistant).

@glen-84 glen-84 closed this Jul 21, 2026
@glen-84
glen-84 deleted the gai/variable-filter-tests branch July 21, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants