Aditya Mathur
products/{id} APIs conflicting with products/my-products in generated doc with OpenAPI
Here is the PR which was merged https://github.com/rhinobase/hono-openapi/pull/64
46 replies
products/{id} APIs conflicting with products/my-products in generated doc with OpenAPI
Interesting, can you share a reproduction of this? And create a issue over here - https://github.com/rhinobase/hono-openapi/issues
46 replies
Combine SSR and Client Components without HonoX
I have updated the example tho - https://github.com/honojs/examples/tree/main/hono-vite-jsx, it now uses vite
11 replies
Using TailwindCSS with Hono/JSX
You can either use the tailwindcss CDN file or use something like vite to compile your TailwindCSS. There are some examples in https://github.com/honojs/examples repo
5 replies
Infer client openAPI
Hey there are some know issues with the
@hono/zod-openapi
, this might be one of those. I have created a middleware which helps with generating the OpenAPI Specs in your normal hono app, you can try that. https://github.com/rhinobase/hono-openapi2 replies
Is there a way to get bindings outside the `c` Context of an inbound Request in Cloudflare Workers?
Yeah, this is perfect - https://www.better-auth.com/docs/integrations/hono#mount-the-handler, just init the auth inside the function. honestly regarding the function if you are not running this on node then you are still init the auth on each request. If you are on node then you can just store the auth instance as a global variables once init.
10 replies