Adding custom business logic to Hasura using Dark
Blog post from Hasura
In this article, we explore how to add custom business logic to Hasura using Actions and the programming platform Dark. We create a custom mutation for an online mafia game that assigns roles to players while ensuring certain constraints are met. The process involves defining the mutation, creating an HTTP endpoint in Dark, implementing the handler, and testing it by sending requests. We also demonstrate how to modify the definition of the mutation to return additional information about the game and connect it to the graph using a new relationship.
No tracked trend matches for this post yet.
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.