Settings

Theme

Show HN: Hasura v3 custom logic: TypeScript fn = GraphQL schema and Resolver

youtube.com

1 points by nullxone 2 years ago · 1 comment · 1 min read

Reader

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.

nullxoneOP 2 years ago

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection