How to share Hono RPC client type with frontend package?
Component Library SSG
hono/jwt expiresIn
Migrating from Express to Hono. Static files caching
How can I resolve bundle error with Hono and Bun in monorepo
How do you manage CSS with server rendered HTML in Hono?
static files 404 when in subdirectory of assets
Versions of @hono/zod-openapi >= 0.17 will cause vscode to crash
Any lib for API rate limiter in hono CF worker?
Closing resources and streaming response
How to implement renderToPipeableStream with the streaming API?
Getting isssues on adding data to KV store
Use zod schema generated with prisma with @hono/zod-openapi
RPC types not working well inside a monorepo
packages/api
for my hono api and app/www
for the client code. I have set up rpc well but i am getting Type instantiation is excessively deep and possibly infinite.ts
. I have tried the following
- I have set strict
to true on both my api and client package
- have set composite
true in my api package and set path reference in my client package.
The above two helped to infer the types in the client from unknown to actual types but now its giving the type instantiation error....Update the default validator to return custom error response
zValidator
of hono to return custom error objects. Right now, it returns something like this:
```json
{
"success": false,
"error": {...Get the username using basic auth
deno: react-pdf pitfall

correct type of this `Context`

Honox scripts and styles not working in production
Typing nested controlled