Query an Enumeration Type with GraphQL

Eve Porcello
InstructorEve Porcello

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
~ 2 years ago

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

Eve Porcello
Eve Porcelloinstructor
~ 2 years ago

Of course! You can find the repo here.

Tech
Tech
~ 2 years ago

Awesome. Thank you so much!