News for hackers. Stuff that matters.
Re:Show HN: Hasura – Fast, instant GraphQL APIs on Postgres by wjonas on Thursday July 19, 2018 @07:31AM (#17565357)
I have been playing around with it. It's great.

Better support for ENUMS and MANY TO MANY relationships would be very needed though.

Re:Show HN: Hasura – Fast, instant GraphQL APIs on Postgres by tango12 on Thursday July 19, 2018 @08:21AM (#17565562)
Thanks :)

We're adding docs for enums as we speak. What did you find lacking around the many-to-many?

Re:Show HN: Hasura – Fast, instant GraphQL APIs on Postgres by wjonas on Thursday July 19, 2018 @10:41AM (#17566714)
For 2 reasons inserting is tricky and querying is not super intuitive.

Example: I have 3 tables pages, page_blocks, and blocks.

- Inserting blocks into a page is tough.

- To query it's not very intuitive I would like to do.

pages {

  blocks {

    id

  }
}

& not

pages {

  page_blocks {

    blocks {

      id
    }

  }

}
Re:Show HN: Hasura – Fast, instant GraphQL APIs on Postgres by tango12 on Thursday July 19, 2018 @11:05AM (#17566961)
Got it! Thanks for the note, and we should be able to make this better very soon.