class Oxide::Types::CustomScalarType

Defined in:

oxide/types/scalars.cr

Constructors

Instance Method Summary

Instance methods inherited from class Oxide::Types::ScalarType

input_type? : Bool input_type?, kind kind, output_type? : Bool output_type?

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 : String | Nil = nil, specified_by_url : String | Nil = nil, 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 name : String #

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

[View source]
def specified_by_url : String | Nil #

[View source]