Class: GraphQL::Types::ObjectType

Inherits:
Node
  • Object
show all
Defined in:
lib/graphql/types/object_type.rb

Direct Known Subclasses

BooleanType, NumberType, StringType

Instance Attribute Summary

Attributes inherited from Node

#original_target, #query, #syntax_fields, #target

Instance Method Summary collapse

Methods inherited from Node

#__type__, all_fields, #apply_calls, call, calls, #context, cursor, default_schema_name, desc, description, exposes, exposes_class_names, field, #finished_value, #initialize, #method_missing, own_calls, own_fields, remove_field, respond_to_field?, schema_name, type

Constructor Details

This class inherits a constructor from GraphQL::Node

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class GraphQL::Node

Instance Method Details

#as_resultObject



3
4
5
# File 'lib/graphql/types/object_type.rb', line 3

def as_result
  target
end