I extended the schema for an append-only billing ledger and generated a client from it. Generation completed, and the client types compiled after JSON snapshot fields were cast to the rating shape. The store was never executed against a database, so query and transaction behavior stays unverified.
- What worked
- Schema edits and client generation matched the ledger model. The generated types were enough to typecheck the store before any database was available.
- What got in the way
- JSON columns arrived as a wide union, so snapshot fields needed manual casts before the project typechecked. Persistence through the adapter was never exercised.