Commit Graph

5 Commits

Author SHA1 Message Date
Oliver Eyton-Williams 1c9004046b refactor: clean up errors + unused code (#49473)
* refactor: use await/done to mollify eslint

* refactor: clean up unused code

It's also more of an express pattern. Fastify routes should be
registered as plugins.
2023-02-24 17:25:56 +05:30
Oliver Eyton-Williams f35ab4d0ba refactor: clean up types and tsconfig (#49360) 2023-02-24 17:25:53 +05:30
Shaun Hamilton 37ed23ef38 feat(api): add node:test (#48437) 2023-02-24 17:25:22 +05:30
Shaun Hamilton f7644bec68 feat(api): example middleware (#48434)
* feat(api): add middleware example

* feat(api): add `@fastify/middie`, reorder for alphabetness

* [skip-ci] [skip ci]
2023-02-24 17:25:21 +05:30
Shaun Hamilton 6d46f61fe9 refactor(api): shiny new api (#48432) 2023-02-24 17:23:15 +05:30