Fastify request is not accessible in app of next.js 13.
Open
help wanted
- Dominant language
- No language data
- Stars
- 68
- Forks
- 8
- Avg merge
- 11h 2m
- Merged PRs (30d)
- 2
Description
##
I am updating from next.js version 12 to next.js 13. With new App folder sturuture it seems like the fastify request is not accessible in the app. Is there any way we can acess?
```js
fastify.register(require("@fastify/nextjs"), { dev, hostname, port }).after(() => {
server.next("/api/*", { method: "GET" });
server.next("/api/*", { method: "POST" });
server.next("/*", { preHandler }, some-render-logic);
````
## Your Environment
- *node version*: 16
- *fastify version*: ~4.0.0
- *os*: Mac
Contributor guide
Assessment
This issue has not been assessed yet.