GraphQL vs Restful API,

adnan
- 2 months ago

Github announced last week that they are rolling out their new API in near future, (now in review) based on GraphQL a relatively new way to compose API, originally built by Facebook.

When Github does this, I see sweeping changes on how APIs will be built from then onwards as GraphQL provides powerful ways to interact with servers / data.

Anyone here have thought about this, or think we should prepare early? :)

Side note, if you do watch the video you'll see that Github recieved help from Facebook engineers and from Shopify to a large degree to implement the query language, .. is it just me or has the world turned onto it's head to the point that, for-profit companies help each-other as if it has always been the case!!!

ryanthompson
- 2 months ago

Lol that does sounds like a lie - companies helping each other like that. I love the idea though - when I've built larger APIs in the past it's been based on a query syntax. Just makes sense. Kinda like criteria for models - I don't want a plugin function for everything - I want SAFE access to the API.