1
0
mirror of synced 2025-12-22 11:26:57 -05:00
Files
docs/content/graphql/reference/enums.md
Vanessa Yuen 3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00

21 lines
623 B
Markdown

---
title: Enums
redirect_from:
- /v4/enum
versions:
free-pro-team: '*'
enterprise-server: '*'
---
### About enums
[Enums](https://graphql.github.io/graphql-spec/June2018/#sec-Enums) represent possible sets of values for a field.
For example, the [`Issue`](/v4/object/issue) object has a field called `state`. The state is an enum (specifically, of type [`IssueState`](/v4/enum/issuestate/)) because it may be `OPEN` or `CLOSED`.
For more information, see "[Introduction to GraphQL](/v4/guides/intro-to-graphql)."
{% for item in graphql.schemaForCurrentVersion.enums %}
{% include graphql-enum %}
{% endfor %}