1
0
mirror of synced 2025-12-22 03:16:52 -05:00
Files
docs/content/graphql/reference/enums.md
2021-04-30 19:30:36 -07:00

722 B

title, redirect_from, versions, topics
title redirect_from versions topics
Enums
/v4/enum
/v4/reference/enum
free-pro-team enterprise-server github-ae
* * *
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 %}