kingstinct / zemble

Zemble Plugin System
14 stars 1 forks source link

@zemble/routes: Improve REST DX #12

Open robertherber opened 10 months ago

robertherber commented 10 months ago

The @zemble/routes is very easy to get started with, but is missing a few things to make it on par with GraphQL:

Using the sofa plugin on top of your GraphQL schema would be the easiest way to achieve feature parity with GraphQL right now.

robertherber commented 8 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).