News for hackers. Stuff that matters.
Re:Ask HN: Were you happy moving your API from REST to GraphQL? by tormeh on Thursday July 19, 2018 @02:27PM (#17569072)
Note that this means the back end team has to keep the schema backwards compatible forever. Having everyone have direct access to the schema (speaking from SQL experience) is bad. This is the start of a slow moving disaster train that you can't stop.
Re:Ask HN: Were you happy moving your API from REST to GraphQL? by alexchamberlain on Thursday July 19, 2018 @02:35PM (#17569135)
I disagree; the GraphQL schema should be your point of stability, whereby anything in front or behind can change. That being said, ofc, you'll need to deprecate something at some point and that is fine, it might just take a couple of weeks. See @deprecated decorator examples
Re:Ask HN: Were you happy moving your API from REST to GraphQL? by tomnipotent on Thursday July 19, 2018 @09:11PM (#17571728)
> the GraphQL schema should be your point of stability, whereby anything in front or behind can change

This is the bit of abstraction I see most developers fail to understand when evaluating GraphQL.

Re:Ask HN: Were you happy moving your API from REST to GraphQL? by RussianCow on Thursday July 19, 2018 @02:31PM (#17569104)
Not forever, just as long as you support out-of-date clients (either because of cached JS on the web, or mobile apps that haven't been updated recently). Plus, you generally don't want to introduce backwards-incompatible changes to your schema anyway at a certain scale, unless you can afford to have planned downtime, so GraphQL doesn't add anything new here.
Re:Ask HN: Were you happy moving your API from REST to GraphQL? by BerislavLopac on Thursday July 19, 2018 @02:56PM (#17569291)
I'm not quite sure what does the database schemas have to do with the front-end queries...
Re:Ask HN: Were you happy moving your API from REST to GraphQL? by elliotec on Thursday July 19, 2018 @04:10PM (#17569819)
In this case OP is talking about the GraphQL schemas, not the DB.
Re:Ask HN: Were you happy moving your API from REST to GraphQL? by BerislavLopac on Thursday July 19, 2018 @04:32PM (#17569998)
I'm not sure which OP do you mean? The parent mentions "SQL experience", the grandparent is ambiguous, and the GGP explicitly mentions "database schema".

If by OP you mean the original article, I completely agree with you; my comment was directed to its ancestors.