1
0
mirror of synced 2026-01-04 00:06:20 -05:00
Files
docs/content/graphql/reference/enums.md
Rachael Sewell 82306c2664 remove GHES 3.7 markup and static files (#48568)
Co-authored-by: Vanessa <vgrl@github.com>
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
2024-01-11 19:29:02 +00:00

26 lines
739 B
Markdown

---
title: Enums
intro: Enums represent possible sets of values for a field.
redirect_from:
- /v4/enum
- /v4/reference/enum
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- API
autogenerated: graphql
---
## About enums
[Enums](https://graphql.github.io/graphql-spec/June2018/#sec-Enums) represent possible sets of values for a field.
For example, the [`Issue`](/graphql/reference/objects#issue) object has a field called `state`. The state is an enum (specifically, of type [`IssueState`](/graphql/reference/enums#issuestate)) because it may be `OPEN` or `CLOSED`.
For more information, see "[AUTOTITLE](/graphql/guides/introduction-to-graphql)."
<!-- Content after this section is automatically generated -->