class Oxide::Types::ObjectType
- Oxide::Types::ObjectType
- Oxide::Type
- Reference
- Object
Defined in:
oxide/types/object_type.crConstructors
Instance Method Summary
- #all_fields
- #applied_directives : Array(AppliedDirective)
- #coerce(value) : CoercedInput
- #description : String | Nil
- #fields : Hash(String, BaseField)
- #input_type? : Bool
- #interfaces : Array(Oxide::Types::InterfaceType)
- #kind
- #name : String
- #output_type? : Bool
- #serialize(value) : SerializedOutput
Instance methods inherited from class Oxide::Type
coerce(value) : CoercedInput
coerce,
description
description,
input_type? : Bool
input_type?,
name
name,
output_type? : Bool
output_type?,
serialize(value) : SerializedOutput
serialize,
unwrap(schema : Schema)
unwrap
Instance methods inherited from module Oxide::Visitable
accept(visitor : Visitor)
accept
Constructor Detail
def self.new(name : String, description : Nil | String = nil, fields = {} of String => BaseField, interfaces : Array(Oxide::Types::InterfaceType) = [] of Oxide::Types::InterfaceType, applied_directives : Array(Oxide::AppliedDirective) = [] of AppliedDirective)
#