class Oxide::Schema
- Oxide::Schema
- Reference
- Object
Defined in:
oxide/schema.crConstant Summary
-
DEFAULT_DIRECTIVES =
[Oxide::Directives::SkipDirective, Oxide::Directives::IncludeDirective, Oxide::Directives::DeprecatedDirective, Oxide::Directives::SpecifiedByDirective]
Constructors
Instance Method Summary
- #applied_directives : Array(AppliedDirective)
- #description : String | Nil
- #directives : Array(Oxide::Directive)
- #get_type(name)
- #get_type!(name)
- #get_type_from_ast(ast_node)
- #mutation : Oxide::Types::ObjectType | Nil
- #orphan_types : Array(Oxide::Type)
- #query : Oxide::Types::ObjectType
- #type_map
- #types
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)
#