...
Table of Contents | ||||
---|---|---|---|---|
|
REST vs GraphQL
Components of GraphQL:
...
3. Finally we do a GET on the user’s followers resource to get their names; note that we get a lot more info than just their names
...
Example: Blogging App
...
with GraphQL
In GraphQL all clients could access the same information in the example above (user name, user’s blog post titles, user’s most recent three followers) via one endpoint instead of three.
...