class Oxide::Schema

Defined in:

oxide/schema.cr

Constant Summary

DEFAULT_DIRECTIVES = [Oxide::Directives::SkipDirective, Oxide::Directives::IncludeDirective, Oxide::Directives::DeprecatedDirective, Oxide::Directives::SpecifiedByDirective]

Constructors

Instance Method Summary

Constructor Detail

def self.new(query : Oxide::Types::ObjectType, mutation : Nil | Oxide::Types::ObjectType = nil, orphan_types : Array(Oxide::Type) = [] of Oxide::Type, directives = [] of Directive, description : Nil | String = nil, applied_directives : Array(Oxide::AppliedDirective) = [] of AppliedDirective) #

[View source]

Instance Method Detail

def applied_directives : Array(AppliedDirective) #

[View source]
def description : String | Nil #

[View source]
def directives : Array(Oxide::Directive) #

[View source]
def get_type(name) #

[View source]
def get_type!(name) #

[View source]
def get_type_from_ast(ast_node) #

[View source]
def mutation : Oxide::Types::ObjectType | Nil #

[View source]
def orphan_types : Array(Oxide::Type) #

[View source]

[View source]
def type_map #

[View source]
def types #

[View source]