How TypeScript template literal types helped us with multiple database support
Last year November's release of TypeScript was one of the most exciting releases. Literal types took over the TypeScript community by opening a whole new set of possibilities.
Adding custom business logic to Hasura using Dark
Hasura has recently implemented a way to create custom mutations called Actions. Want to handle complex business logic? Actions are the way to go! To create a new action, you need to provide a definition, handler (REST endpoint), and specify the kind – sync or async. When you run the custom GraphQL mutation, Hasura makes a POST request to the specified handler with the mutation arguments and the session variables. If you want to know more about the machinery behind it, check out the docs [https
Why we chose TypeScript for the Hasura Console
At Hasura, we wanted to introduce a statically typed frontend language for quite some time now. We discussed which one we should choose and evaluated options such as PureScript, TypeScript, ReasonML, and Elm.