Module: GraphQL::Schema

Defined in:
lib/graphql.rb

Overview

These objects are used to track the schema of the graph

Defined Under Namespace

Classes: Schema, SchemaValidation

Constant Summary collapse

ALL =

This query string yields the whole schema. Access it from Schema#all

"
schema() {
  calls {
    count,
    edges {
      node {
        name,
        returns,
        arguments {
          edges {
            node {
              name, type
            }
          }
        }
      }
    }
  },
  types {
    count,
    edges {
      node {
        name,
        fields {
          count,
          edges {
            node {
              name,
              type,
              calls {
                count,
                edges {
                  node {
                    name,
                    arguments
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}"