WAAYZZz 🍀
exemple for zod-openapi + rpc
last question, how to properly pass rpc client or typeof App to frontend in a monorepo architecture ?
i have this repo https://github.com/iNeoO/sirena
in
apps/backend/src/hc.ts
client or AppType are well typed
but in apps/frontend/src/lib/api/hc.ts
everything becomes any
the only way i manged to make it works it's to not use factory, new app creation44 replies
exemple for zod-openapi + rpc
well encountred an other issue 😄 https://github.com/rhinobase/hono-openapi/issues/91 but with hono-openapi this time
44 replies