Sha256: 2e94979f439aa4cfd24649fafbf057ccb016fc8cdbbccb943b1daec0637c80a1

Contents?: true

Size: 1.2 KB

Versions: 11

Compression:

Stored size: 1.2 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
      args {
        ...InputValue
      }
      onOperation
      onFragment
      onField
    }
  }
}
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

11 entries across 11 versions & 1 rubygems

Version Path
graphql-0.12.1 lib/graphql/introspection/introspection_query.rb
graphql-0.12.0 lib/graphql/introspection/introspection_query.rb
graphql-0.11.1 lib/graphql/introspection/introspection_query.rb
graphql-0.11.0 lib/graphql/introspection/introspection_query.rb
graphql-0.10.9 lib/graphql/introspection/introspection_query.rb
graphql-0.10.8 lib/graphql/introspection/introspection_query.rb
graphql-0.10.7 lib/graphql/introspection/introspection_query.rb
graphql-0.10.6 lib/graphql/introspection/introspection_query.rb
graphql-0.10.5 lib/graphql/introspection/introspection_query.rb
graphql-0.10.4 lib/graphql/introspection/introspection_query.rb
graphql-0.10.3 lib/graphql/introspection/introspection_query.rb