Skip to content

Add auto-fetch batch control for live subscriptions#259

Merged
jamals86 merged 1 commit into
mainfrom
release/0.4.4-rc.1
May 6, 2026
Merged

Add auto-fetch batch control for live subscriptions#259
jamals86 merged 1 commit into
mainfrom
release/0.4.4-rc.1

Conversation

@jamals86
Copy link
Copy Markdown
Member

@jamals86 jamals86 commented May 6, 2026

Introduce client-side control for auto-fetching initial-data batches across the stack. Adds an auto_fetch_batches option to subscription types (Rust, TS, Dart), parses it in the CLI, and wires it through the WASM client so the client can automatically request subsequent batches or let the UI/SDK request them manually. Exposes requestNextBatch on the WASM & TypeScript clients and a SubscriptionHandle with requestNextBatch/unsubscribe, plus tracing hooks to emit outbound WS messages for debugging. UI changes add live query indicators, a toggle for auto fetch, a "Fetch next batch" button, and live batch metadata handling. Also includes related tests, a small backend test about auditing for delegated DML, and minor example/index updates.

Introduce client-side control for auto-fetching initial-data batches across the stack. Adds an auto_fetch_batches option to subscription types (Rust, TS, Dart), parses it in the CLI, and wires it through the WASM client so the client can automatically request subsequent batches or let the UI/SDK request them manually. Exposes requestNextBatch on the WASM & TypeScript clients and a SubscriptionHandle with requestNextBatch/unsubscribe, plus tracing hooks to emit outbound WS messages for debugging. UI changes add live query indicators, a toggle for auto fetch, a "Fetch next batch" button, and live batch metadata handling. Also includes related tests, a small backend test about auditing for delegated DML, and minor example/index updates.
@jamals86 jamals86 merged commit d024e33 into main May 6, 2026
12 checks passed
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.

1 participant