News for hackers. Stuff that matters.
Re:Hasura raises $9.9M to simplify GraphQL by samblr on Thursday February 27, 2020 @02:26PM (#22436815)
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.

Re:Hasura raises $9.9M to simplify GraphQL by elitan on Thursday February 27, 2020 @02:34PM (#22436890)
Re:Hasura raises $9.9M to simplify GraphQL by dvasdekis on Thursday February 27, 2020 @05:42PM (#22438768)
I'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

Re:Hasura raises $9.9M to simplify GraphQL by james_s_tayler on Thursday February 27, 2020 @07:58PM (#22439636)
I'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.
Re:Hasura raises $9.9M to simplify GraphQL by pyrale on Thursday February 27, 2020 @05:37PM (#22438716)
You may enjoy the work done by Julie Moronuki and Chris Martin. They do lots of great learning stuff related to haskell.
Re:Hasura raises $9.9M to simplify GraphQL by cargoshipit on Thursday February 27, 2020 @03:01PM (#22437188)
> How do we add business logic ?

Awkwardly. Good luck