Hacker News new | ask | show | jobs
Show HN: Hasura v3 custom logic: TypeScript fn = GraphQL schema and Resolver (youtube.com)
1 points by nullxone 938 days ago
DEVELOPER PREVIEW: Hasura v3 completely re-imagines microservice / business logic integration (Actions in Hasura v2).

A single typescript function maps to a complete GraphQL root field.

The first 2 minutes is a demo of the idea. The latter half of the video extends it to gateway style microservice federation.

1 comments

Here's a 30 second tl;dw: The first two code samples explain the idea. https://hasura.io/blog/how-to-convert-typescript-types-to-gr...

Github repository that powers the typescript function to Hasura connector bit: https://github.com/hasura/ndc-typescript-deno