module GraphQL::Schema

Defined in:

graphql-crystal/schema/middleware.cr
graphql-crystal/schema/schema_introspection.cr
graphql-crystal/schema/schema.cr
graphql-crystal/schema/fragment_resolver.cr
graphql-crystal/schema/introspection_query.cr
graphql-crystal/schema/schema_execute.cr
graphql-crystal/schema/variable_resolver.cr
graphql-crystal/schema.cr

Constant Summary

INTROSPECTION_QUERY = " query IntrospectionQuery {\n __schema {\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n description\n locations\n args {\n ...InputValue\n }\n }\n }\n }\n fragment FullType on __Type {\n kind\n name\n description\n fields(includeDeprecated: true) {\n name\n description\n args {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n description\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n fragment InputValue on __InputValue {\n name\n description\n type { ...TypeRef }\n defaultValue\n }\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }"

Class Method Summary

Class Method Detail

def self.from_schema(schema_string) #

Instantiate the Schema class from a String that represents a graphql-schema in the graphql schema definition language


[View source]