Class: GraphQL::Introspection::TypeCall

Inherits:
RootCall
  • Object
show all
Defined in:
lib/graphql/introspection/type_call.rb

Constant Summary

Constants inherited from RootCall

RootCall::TYPE_CHECKS

Instance Attribute Summary

Attributes inherited from RootCall

#arguments, #query

Instance Method Summary collapse

Methods inherited from RootCall

abstract!, argument, argument_for_index, arguments, #as_result, #context, indentifier, inherited, #initialize, own_arguments, return_declarations, returns, schema_name, typecast

Constructor Details

This class inherits a constructor from GraphQL::RootCall

Instance Method Details

#execute!(type_name) ⇒ Object



5
6
7
# File 'lib/graphql/introspection/type_call.rb', line 5

def execute!(type_name)
  GraphQL::SCHEMA.get_type(type_name)
end