Method: GraphQL::StaticValidation::TypeStack#schema

Defined in:
lib/graphql/static_validation/type_stack.rb

#schemaGraphQL::Schema (readonly)

Returns the schema whose types are present in this document.

Returns:

  • (GraphQL::Schema)

    the schema whose types are present in this document



14
15
16
# File 'lib/graphql/static_validation/type_stack.rb', line 14

def schema
  @schema
end