Query an Enumeration Type with GraphQL

Share this video with your friends

Send Tweet

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.

Tech
Tech
~ 5 years ago

Is there a GitHub account tied to this?. I am interested in looking "under the hood".

Eve Porcello
Eve Porcello(instructor)
~ 5 years ago

Of course! You can find the repo here.

Tech
Tech
~ 5 years ago

Awesome. Thank you so much!