Sha256: 88cdebfb80c233ff45919a6655d80d54643a824cc2f773909f6f8cfda6986cba

Contents?: true

Size: 1.44 KB

Versions: 11

Compression:

Stored size: 1.44 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
        ofType {
          kind
          name
          ofType {
            kind
            name
            ofType {
              kind
              name
              ofType {
                kind
                name
              }
            }
          }
        }
      }
    }
  }
}
"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
graphql-1.2.6 lib/graphql/introspection/introspection_query.rb
graphql-1.2.5 lib/graphql/introspection/introspection_query.rb
graphql-1.2.4 lib/graphql/introspection/introspection_query.rb
graphql-1.2.3 lib/graphql/introspection/introspection_query.rb
graphql-1.2.2 lib/graphql/introspection/introspection_query.rb
graphql-1.2.1 lib/graphql/introspection/introspection_query.rb
graphql-1.2.0 lib/graphql/introspection/introspection_query.rb
graphql-1.1.0 lib/graphql/introspection/introspection_query.rb
graphql-1.0.0 lib/graphql/introspection/introspection_query.rb
graphql-0.19.4 lib/graphql/introspection/introspection_query.rb
graphql-0.19.3 lib/graphql/introspection/introspection_query.rb