Method: GraphQL::Field#type

Defined in:
lib/graphql/field.rb

#typeObject

Get the return type for this field.



260
261
262
# File 'lib/graphql/field.rb', line 260

def type
  @clean_type ||= GraphQL::BaseType.resolve_related_type(@dirty_type)
end