Skip to content

Conversation

@Shubham8287
Copy link
Contributor

@Shubham8287 Shubham8287 commented Jan 12, 2026

Description of Changes

Client Query builder for rust, as per proposal - https://github.com/clockworklabs/SpacetimeDBPrivate/pull/2356.

  1. Pach moves query builder to its separate crate, so that it can be shared between module and sdk.
  2. Implements TypedSubscriptionBuilder in sdks/rust as mentioned in proposal
  3. Modify codegen to extend types to support query builder as mentioned in proposal
  4. a test

API and ABI breaking changes

NA, additive changes.

Expected complexity level and risk

2

Testing

Added a test.

@Shubham8287 Shubham8287 force-pushed the shub/rust-client-query-builder branch from 70ea73b to d0d0d24 Compare January 12, 2026 18:44
@Shubham8287 Shubham8287 force-pushed the shub/rust-client-query-builder branch from d0d0d24 to 27fc271 Compare January 12, 2026 18:46
@Shubham8287 Shubham8287 force-pushed the shub/rust-client-query-builder branch from 62bbd3e to 098476f Compare January 12, 2026 19:13
@bfops bfops added release-1.12 backward-compatible enhancement New feature or request release-any To be landed in any release window and removed backward-compatible release-1.12 labels Jan 12, 2026
Copy link
Collaborator

@joshua-spacetime joshua-spacetime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! We also need to be able to build queries over views, but otherwise its ready to merge.

@joshua-spacetime joshua-spacetime linked an issue Jan 14, 2026 that may be closed by this pull request
@Shubham8287 Shubham8287 force-pushed the shub/rust-client-query-builder branch from 54e6ebb to 76375c0 Compare January 14, 2026 09:51
Copy link
Contributor

@gefjon gefjon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the Rust sdk-test clients to use the query builder rather than raw SQL strings?

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

Labels

enhancement New feature or request release-any To be landed in any release window

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Rust] Client bindings for query builder

6 participants