Created
May 2, 2020 12:21
-
-
Save a7v8x/a430f8f095769b5ff20fc5985ec3b8ed to your computer and use it in GitHub Desktop.
enum_introspection https://atheros.ai/blog/how-to-use-graphql-enum-type-and-its-best-practices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query introspectTaskStateEnumType { | |
__type(name: "TaskStateEnum") { | |
enumValues { | |
name | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment