Commit 6ca0957
docs: fix FR2 final-review nits (D1 dialect, README stale claim, Hono Context import)
- recipe: drop `dialect: "d1"` from the custom Generator example — codegen-ts
only knows `"sqlite" | "postgres"`. D1 consumers use `dialect: "sqlite"`
for codegen (D1 is SQLite at the SQL level) and `--dialect d1` for `meta
migrate`. Adjacent note clarifies.
- README: drop "with prepared statements" from the queries description — no
longer accurate after the FR2 followup that simplified findXxxById to plain
`db.select()...where(eq).limit(1)`.
- recipe: replace `Hono.Context<Env>` with `Context<Env>` + named import from
"hono". The namespace-style usage doesn't typecheck under Hono v4.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 70fd2dd commit 6ca0957
2 files changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
281 | 286 | | |
282 | 287 | | |
283 | 288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments