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…
This is an excerpt. The full article continues at Hasura.