November 2019
Beginner
804 pages
20h 1m
English
Let's look at what GraphQL queries look like.
The query language of GraphQL is another of its strong points. It allows clients to define both the data to retrieve and the required shape of that data. This means that a GraphQL client can not only be selective about the data to retrieve, but also dictate how the response should be structured!
Compared to REST, this is incredibly powerful and is standardized by the GraphQL specification. With RESTful APIs, since there is no standard, each and every API can implement (or not) features such as include/exclude, pagination, search, and filtering. With GraphQL, there is one well-defined method for many concepts.
Read now
Unlock full access