3 ms·
Just tried hasura, it is amazing to get all crud graphql apis out of box. How do we add business logic ? Folks @hasura, where do we learn about haskell ? any
by samblr 7y ago
Just tried hasura, it is amazing to get all crud graphql apis out of box.
How do we add business logic ?
Folks @hasura, where do we learn about haskell ? any helpful pointers much appreciated.
- elitan 7y agoFor business logic, there are a few alternatives. 1. Actions - https://hasura.io/docs/1.0/graphql/manual/actions/index.html https://hasura.io/docs/1.0/graphql/manual/actions/index.html 2. https://3factor.app/ https://3factor.app/ 3. Remote schemas - https://hasura.io/docs/1.0/graphql/manual/remote-schemas/index.html https://hasura.io/docs/1.0/graphql/manual/remote-schemas/ind...
- cargoshipit 7y ago> How do we add business logic ? Awkwardly. Good luck
- pyrale 7y agoYou may enjoy the work done by Julie Moronuki and Chris Martin. They do lots of great learning stuff related to haskell.
- dvasdekis 7y agoI'm running a full production algorithmic trading platform, and our frontend interactions are handled by Hasura. For me, the appeal was in writing all the business logic as Postgresql triggers, which (provided they're written as true SQL and not plpgsql), scale beautifully with load. Hasura has a real appeal when you're keen to do your important logic in SQL. Check out the result here: http://www.hedgecheap.com http://www.hedgecheap.com
- james_s_tayler 7y agoI'm considering trying Hasura (or preferably something that can run on SQL Server as that's what we use in production. For me it feels as if trying to do the entire app through Hasura is the wrong approach. But, if we apply CQRS and treat reads different than writes then if we just use it for all of the reads in the system it could eliminate a tonne of code for us. The transactional code can still all go through entity framework and rest APIs.