Repository navigation
Complete client surfaces close-out: ADRs 274 and 277 accepted, the final retro, and the project files removed - #30816
Merged
Merged
Conversation
…retro, demo README on the new client call, project folder removed Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
Contributor
…needs no upgrade action Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
wmadden
approved these changes
Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Complete client surfaces" project is finished. This PR closes it out: ADRs 274 and 277 become Accepted, the final retro is recorded, one stale README line is fixed, and
projects/client-surfaces/is removed.What the project delivered
contractFromJson<Contract>(json); no client call names a typecollections, used bydb.orm, everytx.orm, serverless connections and Supabase role-bound clientssql,orm,raw,prepare,query,executetoSql, runs them withquery/execute, and takesmodeDefinition of done
orm initwrites the new form. The template inpackages/1-framework/3-tooling/cli/src/commands/init/templates/code-templates.tsusescontractFromJsonand passes{ contract }with no type argument on the client. Met.db.ormand inside transactions, with nocreateOrmClientand no hand-builtorm(). A search of examples, READMEs, docs and skills finds none outside published upgrade guides, which are history. Met.examples/prisma-8-demo/test/print-sql.test.tsimports the realdb.tsand checks the SQL of a custom class method's plan. Met.db.tsto the new form and cover each slice's changed types (upgrade-instructions/pending/client-takes-contract-value,transaction-query-members,client-query-and-to-sql, and slice 2's). Met.Changes in this PR
drive/retro/README.md: the final retro.examples/prisma-8-demo/README.md: the last user-facingpostgres<Contract>({ contractJson, … })becomespostgres({ contract, … }).upgrade-instructions/pending/client-surfaces-demo-readme/: declares, for both audiences, that the README fix asks nothing of users (changes: []).projects/client-surfaces/deleted. Nothing outside it linked to it. Its decisions and alternatives already live in ADRs 274 and 277; the rest was coordination material.Deferred work, now in Linear
cursoron SQLite and Supabaseprepareandextensionscreate,update,deletepgoption ignores apg.ClientmongoQuery({ contract })does not validateenumsandnativeEnumson Supabase role-bound clientsforRole(binding)object inSupabaseRuntimeclose()SqlExecutionStackWithDriveris misnamedRuntimeModebelongs in the frameworkclose()and in-flight service-role workNot filed: pool options on the serverless
connect(). ADR 263 leaves them out on purpose; revisit if a user asks.Found during the project and filed separately: TML-3655 (the SQL builder's insert type makes every column optional).
Retro, in short
db.execute(plan)accepts a plan that returns rows.main's copy matches the base tip.Checks
pnpm lint,lint:docs,check:upgrade-coverage --mode prandlint:rules:symlinkspass.Agent: raskolnikov-51
Summary by CodeRabbit
contractFromJson.