Sha256: b46237671d704863f603ffa969b073edc399b48afb301e23e23290cd68c94144

Contents?: true

Size: 1.17 KB

Versions: 32

Compression:

Stored size: 1.17 KB

Contents

# The introspection query to end all introspection queries, copied from
# https://github.com/graphql/graphql-js/blob/master/src/utilities/introspectionQuery.js
GraphQL::Introspection::INTROSPECTION_QUERY = "
query IntrospectionQuery {
  __schema {
    queryType { name }
    mutationType { name }
    subscriptionType { 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
      }
    }
  }
}
"

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
graphql-0.19.2 lib/graphql/introspection/introspection_query.rb
graphql-0.19.1 lib/graphql/introspection/introspection_query.rb
graphql-0.19.0 lib/graphql/introspection/introspection_query.rb
graphql-0.18.15 lib/graphql/introspection/introspection_query.rb
graphql-0.18.14 lib/graphql/introspection/introspection_query.rb
graphql-0.18.13 lib/graphql/introspection/introspection_query.rb
graphql-0.18.12 lib/graphql/introspection/introspection_query.rb
graphql-0.18.11 lib/graphql/introspection/introspection_query.rb
graphql-0.18.10 lib/graphql/introspection/introspection_query.rb
graphql-0.18.9 lib/graphql/introspection/introspection_query.rb
graphql-0.18.8 lib/graphql/introspection/introspection_query.rb
graphql-0.18.7 lib/graphql/introspection/introspection_query.rb
graphql-0.18.6 lib/graphql/introspection/introspection_query.rb
graphql-0.18.5 lib/graphql/introspection/introspection_query.rb
graphql-0.18.4 lib/graphql/introspection/introspection_query.rb
graphql-0.18.3 lib/graphql/introspection/introspection_query.rb
graphql-0.18.2 lib/graphql/introspection/introspection_query.rb
graphql-0.18.1 lib/graphql/introspection/introspection_query.rb
graphql-0.18.0 lib/graphql/introspection/introspection_query.rb
graphql-0.17.2 lib/graphql/introspection/introspection_query.rb