Open robertherber opened 10 months ago
It could be worth looking at replacing Hono with Elysia, since it focuses on end-to-end-typesafety and Swagger out-of-the-box.
However, it seems to only support Bun. So it would be a tradeoff. The path forward is probably bun, but Node support would be nice for easier migration of brownfield projects as well as supporting as many runtimes as possible (especially edge runtimes).
The
@zemble/routes
is very easy to get started with, but is missing a few things to make it on par with GraphQL:@zemble/auth
similar to what we do with GraphQL directives. Using hono middleware is probably an approach worth exploring.Using the sofa plugin on top of your GraphQL schema would be the easiest way to achieve feature parity with GraphQL right now.