class Oxide::Field(I, O)

Defined in:

oxide/field.cr

Constructors

Instance Method Summary

Instance methods inherited from class Oxide::BaseField

arguments : Hash(String, Oxide::Argument) arguments, deprecation_reason : String | Nil deprecation_reason, description : String | Nil description, type : Oxide::Type type

Constructor Detail

def self.new(type : Oxide::Type, resolve : Proc(Resolution(I), O), description : Nil | String = nil, deprecation_reason : Nil | String = nil, arguments : Hash(String, Oxide::Argument) = {} of String => Oxide::Argument, applied_directives : Array(Oxide::AppliedDirective) = [] of AppliedDirective) #

[View source]

Instance Method Detail

def applied_directives : Array(AppliedDirective) #

[View source]
def arguments : Hash(String, Oxide::Argument) #

[View source]
def deprecated? #

[View source]
def deprecation_reason : String | Nil #

[View source]
def description : String | Nil #

[View source]
def resolve(object, argument_values, context, resolution_info) #

[View source]
def type : Oxide::Type #

[View source]