Programming Throwdown cover image

159: GraphQL with Tanmai Gopal

Programming Throwdown

CHAPTER

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.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner