Enums
Was this section helpful?
What made this section unhelpful for you?
Was this section helpful?
Enums in GraphQL define a set of possible values for a field. They represent a discrete set of options or states that a field can have. Enums help ensure type safety and provide a clear list of valid values for a field.
1
2
3
4
5
6
enum CacheControlScope {
""""""
PUBLIC
""""""
PRIVATE
}