Live data from Hacker News

GitHub announcements: Marketplace, Apps and GraphQL API

github.com

161–166 of 166 posts

Re: GitHub announcements: Marketplace, Apps and GraphQL API

#161
post #78
post #16

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.

What do you lose? I actually use REST ATM but interested in GraphQL for my next project.

Re: GitHub announcements: Marketplace, Apps and GraphQL API

#162

Earlier 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.

> 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

#163
post #86

Earlier quoted context omitted.

What's the point in GitHub creating yet-another-CI-tool? Travis and Circle CI have had good integrations for years and work very well.

Cost?

Circle CI works well on their free tier, so no, not cost.

Re: GitHub announcements: Marketplace, Apps and GraphQL API

#164

REST 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.

I found this in the GraphQL docs:

http://graphql.org/learn/caching/

Re: GitHub announcements: Marketplace, Apps and GraphQL API

#166
post #165

Earlier quoted context omitted.

Circle CI works well on their free tier, so no, not cost.

If you're OK with one container, sure.

You can always purchase more plus open-source projects get four containers for free.
Post reply on HN