4 ms·
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 bu
by vnorilo 7y ago
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/ https://developer.github.com/v4/
- reinhardt1053 7y ago8 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/ https://developer.github.com/v4/guides/forming-calls/
- estebarb 7y agoAnd some people says that lisp like languages use too much parenthesis...