class Oxide::Types::InterfaceType

Defined in:

oxide/types/interface_type.cr

Constructors

Instance Method Summary

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, type_resolver : Oxide::TypeResolver, description : Nil | String = nil, fields = {} of String => BaseField, interfaces : Array(Oxide::Types::InterfaceType) = [] of Oxide::Types::InterfaceType, applied_directives : Array(Oxide::AppliedDirective) = [] of AppliedDirective) #

[View source]

Instance Method Detail

def applied_directives : Array(AppliedDirective) #

[View source]
def coerce(value) : CoercedInput #

[View source]
def description : String | Nil #

[View source]
def fields : Hash(String, BaseField) #

[View source]
def input_type? : Bool #

[View source]
def interfaces : Array(Oxide::Types::InterfaceType) #

[View source]
def kind #

[View source]
def name : String #

[View source]
def output_type? : Bool #

[View source]
def serialize(value) : SerializedOutput #

[View source]
def type_resolver : TypeResolver #

[View source]