Frontend First cover image

Lessons from stitching GraphQL services with Hasura

Frontend First

CHAPTER

How to Derivate Data on a User Model

We use Asura and Asura basically reads data out of a Postgres database and turns it into a GraphQL API. It gets a little tricky when you have sort of like derived data. So deriving that data when your backend is just kind of a read state of a Postgress database and turns into a Graphql request response is kind of tricky. But yes, when rails and active records, this would be like a, what do they call it? Just some method response. Yeah. And the method can operate on the data, but that's at layer of abstraction that you can write code and test against for the rest of the application.

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