Class: GraphWeaver::InputStruct::Field

Inherits:
Struct
  • Object
show all
Defined in:
lib/graph_weaver/input_struct.rb

Overview

serializer/coercer are code-as-data from the generated file; nil means identity (the wire value passes through untouched)

Instance Attribute Summary collapse

Instance Attribute Details

#coercerObject

Returns the value of attribute coercer

Returns:

  • (Object)

    the current value of coercer



21
22
23
# File 'lib/graph_weaver/input_struct.rb', line 21

def coercer
  @coercer
end

#propObject

Returns the value of attribute prop

Returns:

  • (Object)

    the current value of prop



21
22
23
# File 'lib/graph_weaver/input_struct.rb', line 21

def prop
  @prop
end

#requiredObject

Returns the value of attribute required

Returns:

  • (Object)

    the current value of required



21
22
23
# File 'lib/graph_weaver/input_struct.rb', line 21

def required
  @required
end

#serializerObject

Returns the value of attribute serializer

Returns:

  • (Object)

    the current value of serializer



21
22
23
# File 'lib/graph_weaver/input_struct.rb', line 21

def serializer
  @serializer
end

#wireObject

Returns the value of attribute wire

Returns:

  • (Object)

    the current value of wire



21
22
23
# File 'lib/graph_weaver/input_struct.rb', line 21

def wire
  @wire
end