Sha256: bc3d637ef027a1d1513d87add31fafdd2e7e49bacc6ca862f9106e62798d8a72

Contents?: true

Size: 1.47 KB

Versions: 125

Compression:

Stored size: 1.47 KB

Contents

# frozen_string_literal: true
# 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
        ofType {
          kind
          name
          ofType {
            kind
            name
            ofType {
              kind
              name
              ofType {
                kind
                name
              }
            }
          }
        }
      }
    }
  }
}
"

Version data entries

125 entries across 125 versions & 1 rubygems

Version Path
graphql-1.8.18 lib/graphql/introspection/introspection_query.rb
graphql-1.11.4 lib/graphql/introspection/introspection_query.rb
graphql-1.11.3 lib/graphql/introspection/introspection_query.rb
graphql-1.11.2 lib/graphql/introspection/introspection_query.rb
graphql-1.10.14 lib/graphql/introspection/introspection_query.rb
graphql-1.11.1 lib/graphql/introspection/introspection_query.rb
graphql-1.10.13 lib/graphql/introspection/introspection_query.rb
graphql-1.11.0 lib/graphql/introspection/introspection_query.rb
graphql-1.10.12 lib/graphql/introspection/introspection_query.rb
graphql-1.9.21 lib/graphql/introspection/introspection_query.rb
graphql-1.10.11 lib/graphql/introspection/introspection_query.rb
graphql-1.9.20 lib/graphql/introspection/introspection_query.rb
graphql-1.10.10 lib/graphql/introspection/introspection_query.rb
graphql-1.10.9 lib/graphql/introspection/introspection_query.rb
graphql-1.10.8 lib/graphql/introspection/introspection_query.rb
graphql-1.10.7 lib/graphql/introspection/introspection_query.rb
graphql-1.10.6 lib/graphql/introspection/introspection_query.rb
graphql-1.10.5 lib/graphql/introspection/introspection_query.rb
graphql-1.10.4 lib/graphql/introspection/introspection_query.rb
graphql-1.10.3 lib/graphql/introspection/introspection_query.rb