3 ms·
So, how does this not all leak implementation details of your schema to the frontend? At least with RESTish APIs I can count on a contract and be cheerfully ig
by angersock 9y ago
So, how does this not all leak implementation details of your schema to the frontend?
At least with RESTish APIs I can count on a contract and be cheerfully ignorant of any crazy backend changes in how it is being handled.
I'm genuinely curious on this point, since it seems like a big problem.
- clintonwoo 9y agoIn a GraphQL schema you can define resolvers which are functions that retrieve/transform the data before returning it. It works quite well so it doesn't matter much what shape the data of your backends are in.