Programming Throwdown cover image

159: GraphQL with Tanmai Gopal

Programming Throwdown

00:00

How to Deal With Transactions in a Centralized Security Context

Hasura allows users to have two common patterns. The first pattern is an event driven pattern, basically command and query segregation. And then Hasura just hands that off to a workflow system or transactional system. We do it over events so that it scales easily. That centralized logic does whatever it needs to do. Then when the output kind of comes to Hasura, we then enter that output back into, into GraphQL. So you can say, do a bank transaction and the output contains a reference to the account. And you can do a GraphQL query on the account.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app