3 Replies
Hey Rahul, have you tried following the example like this? https://hono.dev/docs/helpers/adapter#env
Adapter Helper - Hono
Web framework built on Web Standards for Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Node.js, and others. Fast, but not only fast.
I'll spend some time looking into our hono support, but maybe we just simply don't have the Hyperdrive type defined yet
did it yesterday, its using hyperdrive now as better auth needs pool, so create a middleware that can create a pool and pass that pool on better auth and use env.HYPERDRIVE.host, port user ... etc.
and using context to set it and use across project