Rob Schilder
Rob Schilder3d ago

trpc with deno + hono + supabase edge functions

Hey guys, I wanted to add tRPC alongside our existing Hono setup using the official @hono/trpc-server adapter. tRPC's type-safe client requires importing AppRouter from the server: import type { AppRouter } from "../server/trpc" const trpc = createTRPCReact<AppRouter>() Our server uses Deno-style imports (#report/repository/compose.ts) that Node.js TypeScript can't resolve. When the frontend tries to infer types from AppRouter, compilation fails. Can any of you confirm whether it's possible to use Deno + tRPC in this way and it's a setup fault on our side? Or is this not possible?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?