News for hackers. Stuff that matters.
Re:Show HN: Hasura – Fast, instant GraphQL APIs on Postgres by marksomnian on Monday July 16, 2018 @08:25AM (#17540716)
For the latter, GraphQL itself explicitly forbids recursivity [0], as it's impossible to guarantee that in all cases the data isn't infinitely recursive, especially with cyclic queries, which could lead to a denial-of-service. Postgres has its own support for recursive queries [1], however you'd need to strap a pagination layer on top in order to make it work with GraphQL.

[0]: https://github.com/facebook/graphql/issues/91#issuecomment-2...

[1]: https://www.postgresql.org/docs/9.1/static/queries-with.html

Re:Show HN: Hasura – Fast, instant GraphQL APIs on Postgres by dustingetz on Monday July 16, 2018 @08:32AM (#17540753)
What a cop-out. Datomic Pull, which predates Graphql by two years and does not have an impedance mismatch problem, handles recursion perfectly fine. https://docs.datomic.com/on-prem/pull.html#recursive-specifi...