Skip to content

Instantly share code, notes, and snippets.

@a7v8x
Last active November 5, 2023 12:36
Show Gist options
  • Save a7v8x/c30d92d2ca2458035aadc41702da367d to your computer and use it in GitHub Desktop.
Save a7v8x/c30d92d2ca2458035aadc41702da367d to your computer and use it in GitHub Desktop.

Revisions

  1. a7v8x revised this gist May 2, 2020. No changes.
  2. a7v8x revised this gist Aug 14, 2018. No changes.
  3. a7v8x revised this gist Aug 14, 2018. No changes.
  4. a7v8x created this gist Aug 14, 2018.
    87 changes: 87 additions & 0 deletions graphql_introspection_query.graphql
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,87 @@
    query IntrospectionQuery {
    __schema {
    queryType { name }
    mutationType { name }
    types {
    ...FullType
    }
    directives {
    name
    description
    locations
    args {
    ...InputValue
    }
    }
    }
    }
    fragment FullType on __Type {
    kind
    name
    description
    fields(includeDeprecated: true) {
    name
    description
    args {
    ...InputValue
    }
    type {
    ...TypeRef
    }
    isDeprecated
    deprecationReason
    }
    inputFields {
    ...InputValue
    }
    interfaces {
    ...TypeRef
    }
    enumValues(includeDeprecated: true) {
    name
    description
    isDeprecated
    deprecationReason
    }
    possibleTypes {
    ...TypeRef
    }
    }
    fragment InputValue on __InputValue {
    name
    description
    type { ...TypeRef }
    defaultValue
    }
    fragment TypeRef on __Type {
    kind
    name
    ofType {
    kind
    name
    ofType {
    kind
    name
    ofType {
    kind
    name
    ofType {
    kind
    name
    ofType {
    kind
    name
    ofType {
    kind
    name
    ofType {
    kind
    name
    }
    }
    }
    }
    }
    }
    }
    }