3 ms·
Yes, people do that all the time (e.g. of the top of my head, the Google Drive API). GraphQL is the natural extension of that, but more flexible and composable
by paulddraper 11y ago
Yes, people do that all the time (e.g. of the top of my head, the Google Drive API).
GraphQL is the natural extension of that, but more flexible and composable. I can get a user's name and email, and his friends names, with the cost of only one request and latency.
You could change your REST API to do the same, but eventually you are reproducing the GraphQL equivalent.