Earlier quoted context omitted.
The main thing vs REST is that it fixes the 'overlapping data in resources' issue. Want a timeline of tweets? Well you'll also want avatars to display, and you probably don't want that in a separate resource (because of multiple requests), so both /tweets and /users/userid will give you avatar details. It's a bit messy. In graphQL there's one resource and you query it to tell you what you want.
Hey! I cover that a bit ni a followup blog post :) https://blog.runscope.com/posts/you-might-not-need-graphql tl;dr: maybe you want OData, JSON-API, or one of the many other standards or practices that solve this simple problem as their super-set of functionality on top of the networking principles of REST. Using GraphQL for this alone is rather nuclear, as you gain a lot with GraphQL but lose other stuff.
GitHub announcements: Marketplace, Apps and GraphQL API
161–166 of 166 posts
Re: GitHub announcements: Marketplace, Apps and GraphQL API
#162Earlier quoted context omitted.
That's an oversight on Github's part and will end in a TOS change in one of two directions: price parity or complete prohibition of paid services that use GH integrations outside of the marketplace
Ironic that the "hub for open-source projects" could become a walled garden if the latter happens.
I would say that the irony occurred when the "hub for open-source projects" is a closed-source platform.
(And I would say that as a paying user of Github that rather loves it.)
Re: GitHub announcements: Marketplace, Apps and GraphQL API
#163Re: GitHub announcements: Marketplace, Apps and GraphQL API
#164REST v3 API supports conditional requests, that return 304 when content hasn't changed since last time you asked and don't count against rate limit. It means one can use a caching HTTP transport and benefit from that. Is there any support for caching in the GraphQL v4 API? I'm not seeing anything about it in the docs.