1×
Become a member
to unlock all features
Autoplay

    Query an Enumeration Type with GraphQL

    graphqlGraphQL

    In the GraphQL Query Language, an enum or enumeration type is a restricted list of values for a particular field. We'll query an enum field, category, in this lesson to find out the different pet categories. This lesson also takes a look at the GraphQL schema for the API.

    To follow along with these queries, go to the Pet Library GraphQL Playground.