4 ms·
Maleable/dynamic client contract (as in endpoint contract) specification. That's it. Client A may want to retrieve the User type along with a collection of rec
by Jestar342 6y ago
Maleable/dynamic client contract (as in endpoint contract) specification. That's it.
Client A may want to retrieve the User type along with a collection of recent Searches and PageViewed results, all in one request to reduce chattiness.
Client B (or even Client A in a different workflow) might want to retrieve the User type alongside MatchedProfiles or whatever. Again in on request to reduce chattiness.
GraphQL allows for this kind of flexibility, whereas in REST you'll need to either get chatty with the APIs or build and maintain a large number of boilerplate endpoints.