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.10.2 lib/graphql/introspection/introspection_query.rb
graphql-1.9.19 lib/graphql/introspection/introspection_query.rb
graphql-1.10.1 lib/graphql/introspection/introspection_query.rb
graphql-1.10.0 lib/graphql/introspection/introspection_query.rb
graphql-1.10.0.pre4 lib/graphql/introspection/introspection_query.rb
graphql-1.9.18 lib/graphql/introspection/introspection_query.rb
graphql-1.10.0.pre3 lib/graphql/introspection/introspection_query.rb
graphql-1.9.17 lib/graphql/introspection/introspection_query.rb
graphql-1.10.0.pre2 lib/graphql/introspection/introspection_query.rb
graphql-1.9.16 lib/graphql/introspection/introspection_query.rb
graphql-1.9.15 lib/graphql/introspection/introspection_query.rb
graphql-1.9.14 lib/graphql/introspection/introspection_query.rb
graphql-1.10.0.pre1 lib/graphql/introspection/introspection_query.rb
graphql-1.9.13 lib/graphql/introspection/introspection_query.rb
graphql-1.9.12 lib/graphql/introspection/introspection_query.rb
graphql-1.9.11 lib/graphql/introspection/introspection_query.rb
graphql-1.9.10 lib/graphql/introspection/introspection_query.rb
graphql-1.9.9 lib/graphql/introspection/introspection_query.rb
graphql-1.9.8 lib/graphql/introspection/introspection_query.rb
graphql-1.9.7 lib/graphql/introspection/introspection_query.rb