I'm the one suffering right now from graphql hype. The idea is great, but it's very immature. Android client is just not ready for something bigger then few simple queries. iOS client is also years behind JS client. If your platform is not limited to JS, It doesn't worth migration. We fighting with custom mutex and other painful tricks to make it working.
Why Astronomer is Betting on GraphQL
11–20 of 38 posts
Re: Why Astronomer is Betting on GraphQL
#12Re: Why Astronomer is Betting on GraphQL
#13Betting on ... Great for blog posts, but not great for productivity. You should blog in a year about: why we migrated from GraphQL to Postgress ( if it's that immature as i see in the comments)
Re: Why Astronomer is Betting on GraphQL
#14Facebook keeps coming up as the evangelist for GraphQL but didnt they move AWAY from FQL in 2015?
Re: Why Astronomer is Betting on GraphQL
#15Does anyone have experiences using GraphQL in production? Trying to understand if GraphQL will be a good alternative to REST for new projects or is GraphQL being hyped up like mongoDB was 7-8 years ago.
Of course the libraries are important too, but even if Facebook specifically strangled GraphQL to death, the idea of simple declarative HTTP API is too valuable to let it die on the vine.
In parallel, even if Facebook decided to strangle their React user base with patent trolling, and everyone decided to ditch React, the idea of a declarative DOM library or unidirectional flow is too good to let it die with React. And so we see it in Vue, Angular, and Preact or Inferno.
Hype may be related to many factors, one of which is mere library or ecosystem polish, often propelled by a big company with labor to spare, but I think the benefits behind a declarative HTTP API are real.
Re: Why Astronomer is Betting on GraphQL
#16At the same time I can see that it works in the other way around; back-end engineers don't have to keep up with changing query requirements from the front-end team.
The same is suggested in the article and confirmed in the response to the only comment:
"The point is that most APIs end up having to support lots of different client requirements all at the same time... and then those requirements change... and then they change again. You don't want to have "fix" your API every time this happens. GraphQL would support a lot of these differing requirements with no changes to the server code at all."
"You don't want to have "fix" your API every time this happens." I don't see why not. Requirements change thus code changes, its not a big deal.
The sacrifice you make with this 'not having to change the server side code' is that you are never able to change the server side code again without risking that you take away functionality that is somehow used by some client somewhere. I say 'somehow' because with REST there is usually an endpoint that is either used or not, but with GraphQL there are relations that get used through each other which is less straightforward to determine when pruning or updating your API.
It all depends who you are though. For Github it is probably a good idea to provide a GraphQL API as this freedom in the front-end will make adoption of their API and thus their service more likely. If you are a normal company and you are the only consumer of your API I highly question the added benefit.
I might be wrong though, so if anyone could point me at some high quality resources on the benefit of GraphQL I am very interested. This article wasn't really that.
Re: Why Astronomer is Betting on GraphQL
#17Re: Why Astronomer is Betting on GraphQL
#18GraphQL so far to me just seems like a way to facilitate freedom to front-end engineering in terms of not begin dependent on the back-end when query-ing; I image that when back- and front-end teams are separate that it can be frustrating to front-enders to wait for the api developers to have made something available to them. At the same time I can see that it works in the other way around; back-end engineers don't ha…
That can be easier since you can add metrics to each individual field rather than url, allowing you to deprecate rarely used fields knowing what you'll break and alert only those who are using it of the change
Re: Why Astronomer is Betting on GraphQL
#19Betting on ... Great for blog posts, but not great for productivity. You should blog in a year about: why we migrated from GraphQL to Postgress ( if it's that immature as i see in the comments)
You cant migrate from GraphQL to Postgress. The two technologies cant possibly replace each other - either way.
Re: Why Astronomer is Betting on GraphQL
#20I'm the one suffering right now from graphql hype. The idea is great, but it's very immature. Android client is just not ready for something bigger then few simple queries. iOS client is also years behind JS client. If your platform is not limited to JS, It doesn't worth migration. We fighting with custom mutex and other painful tricks to make it working.
I'm one of the developers of the Apollo iOS client, so I'm definitely interested in hearing your feedback. I know we're missing some features compared to the JavaScript client, but both the Android and iOS clients seem fairly stable and are used in production. I'm especially intrigued by the need for a 'custom mutex and other painful tricks'. Maybe this isn't the venue for detailed discussion, but please open an issu…