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
}
}
}
Better support for ENUMS and MANY TO MANY relationships would be very needed though.