News for hackers. Stuff that matters.
Re:Ask HN: Why GraphQL APIs but no Datalog APIs? by vnorilo on Monday December 09, 2019 @04:18AM (#21741350)
Github's api [1] makes sense to me - there are lots and lots of query patterns and the previous Rest api results in quite a bit of link chasing and bandwidth burning.

It would actually be interesting to see if someone could design a very good Rest api for gh-like usage.

1: https://developer.github.com/v4/

Re:Ask HN: Why GraphQL APIs but no Datalog APIs? by reinhardt1053 on Monday December 09, 2019 @04:43AM (#21741431)
8 closed brackets in their first example query.

query { repository(owner:"octocat", name:"Hello-World") { issues(last:20, states:CLOSED) { edges { node { title url labels(first:5) { edges { node { name

              }
            }
          }
        }
      }
    }
  }
}

https://developer.github.com/v4/guides/forming-calls/

Re:Ask HN: Why GraphQL APIs but no Datalog APIs? by estebarb on Monday December 09, 2019 @05:35AM (#21741600)
And some people says that lisp like languages use too much parenthesis...