Query a List of Objects with GraphQL

Share this video with your friends

Send Tweet

Now that we understand how to write a simple query to check a total value, we're going to write a query to return a list of pet objects. Along the way, we'll learn a bit more about the GraphQL query language, tackling vocabulary like selection sets and fields. All of the queries are sent to the Pet Library API.

~ 3 years ago

Everything wrapped after query with curly braces is called a selection set

~ 3 years ago

Each data we're requesting is called a field