Re:Ask HN: Were you happy moving your API from REST to GraphQL?
by jaequery on Thursday July 19, 2018 @11:42AM
(#17567351)
well, it won't be just a simple GET /user/1 anymore.
it will be like:
user { id name role status age sex address group { id name } etc etc }
[ Parent
| on HN ]
Re:Ask HN: Were you happy moving your API from REST to GraphQL?
by spinningarrow on Thursday July 19, 2018 @12:03PM
(#17567575)
Right - what I meant was more like when you get some data you probably want to display it in the UI and would already be doing something like ‘Hi ${user.name}, your age is ${user.age}’. This is affected by schema changes irrespective of the way the API is invoked.