Files
trailbase/client/dart
Sebastian Jeltsch be097c00c3 Add a sequence number to SSE change events. This is important to discover transparent re-connects and discover missed events on the client-side.
This change took a while, since I first switched to internally tagged unions, which would be easier to handle by most client.
However, after thinking carefully given the cost of wire-format changes, I concluded that externally tagged is the way to go.
It's needed to support different value schemas for insert/update/delete, which would be required for Avro.

In the future we should also add facilities to the client to discover such losses, e.g. using a callback API.
2026-04-07 14:09:22 +02:00
..
2025-07-24 17:30:10 +02:00
2025-07-24 17:30:10 +02:00
2026-01-18 22:39:32 +01:00

TrailBase Client

TrailBase is an open, sub-millisecond, single-executable Firebase alternative with type-safe APIs, built-in WebAssembly runtime, realtime, auth, and admin UI built on Rust, SQLite & Wasmtime.

For more context, documentation, and an online demo, check out the website: trailbase.io.

This is the first-party client for hooking up your Flutter or Dart applications with TrailBase. While we're working on better documentation, an example Flutter app can be found in the repository under: /examples/blog/flutter.