Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 705 Bytes

File metadata and controls

25 lines (20 loc) · 705 Bytes
title redirect_from versions topics
Enums
/v4/enum
/v4/reference/enum
fpt ghec ghes ghae
*
*
*
*
API

About enums

Enums represent possible sets of values for a field.

For example, the Issue object has a field called state. The state is an enum (specifically, of type IssueState) because it may be OPEN or CLOSED.

For more information, see "Introduction to GraphQL."

{% for item in graphql.schemaForCurrentVersion.enums %} {% include graphql-enum %} {% endfor %}