Commit 35caa8f
Add docs/migration/from-fastify.md, a side-by-side porting guide for
Fastify developers moving to Nerva/Hono, mirroring the structure of the
Express guide.
Covers Fastify schemas to Zod, plugins/encapsulation to middleware and
sub-apps, decorators to context variables, hooks to the middleware
chain, route registration, serialization/validation (including the loss
of fast-json-stringify response filtering), and TypeBox type providers
to Zod inference. Leads with where Fastify and Hono align (schema-first,
TypeScript-first, return-a-value handlers, in-process testing) and
includes a cheat-sheet table. Linked from the README docs index.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent b973046 commit 35caa8f
2 files changed
Lines changed: 634 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
| |||
0 commit comments