In addition to returning lists or scalar values, it’s possible to return GraphQL objects from fields. In this lesson, we’ll take a closer look at the Photo
type and how it can be used to store more complex data types.
To follow along with these queries, go to the Pet Library GraphQL Playground.