Skip to content

Conversation

@rekhoff
Copy link
Contributor

@rekhoff rekhoff commented Jan 29, 2026

Description of Changes

This is the implementation of the Typed Query Builder for C# modules outlined in #3750.
This requires the changes from #4146 to be in place before it can properly function.

This aligns the C# typed query builder SQL formatter with the Rust implementation:

  • Supports And/Or with same grouping styles as Rust.
  • All comparison operators (Eq/Neq/Lt/…) wrap expressions in parentheses so chained predicates produce byte-for-byte identical SQL.

API and ABI breaking changes

Not breaking. Existing modules keep producing the same SQL semantics; only redundant parentheses were added to match the Rust formatter.

Expected complexity level and risk

2 — localized string-format updates plus parity harness tweaks. Low functional risk; largest concern is ensuring every comparison path gained parentheses.

Testing

  • Tested against a local test harness validating output from these changes match current Rust behavior.

@rekhoff rekhoff self-assigned this Jan 29, 2026
@rekhoff rekhoff marked this pull request as ready for review January 29, 2026 04:27
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