package-trpc-swagger icon indicating copy to clipboard operation
package-trpc-swagger copied to clipboard

Doubs about Next App router support

Open Maciel64 opened this issue 8 months ago • 1 comments

Hello Verc. I was working on an app that uses both tRPC and api support, so I wanted so much to trpc-openapi works with app router, but is just don't. I've tried your fork in eager to see it working, but it does't too.

So i've opened this issue to undertand and possible help other people that hits the same case than me.

Can you confirm me? trpc-swagger does not support app router yet, or the problem between the chair and keyboard as usual?

Maciel64 avatar Mar 22 '25 00:03 Maciel64

I use the Next.js app router.

TRPC 11 Just dropped Friday of Last week and we're getting support for that ASAP.

The examples folder has a with-nextjs-app for reference.


Ping me on the tRPC official discord if you want to send me code snippets to look at.

Vercjames avatar Mar 24 '25 18:03 Vercjames

@Maciel64 Let me know if this is still a blocking issue for you before I close this issue.

Vercjames avatar Sep 09 '25 16:09 Vercjames

Hello @Vercjames. Thank you for your response! I'll definitely check the documentation.

At the time I opened the issue, I wasn't able to resolve the problem and ended up giving up on using TRPC, so I won't be able to test it to confirm its functionality at the moment.

Thank you very much for your attention.

Maciel64 avatar Sep 09 '25 16:09 Maciel64