Module: GraphQL::Execution::Execute::FieldResolveStep

Defined in:
lib/graphql/execution/execute.rb

Overview

A .call-able suitable to be the last step in a middleware chain

Class Method Summary collapse

Class Method Details

.call(_parent_type, parent_object, field_definition, field_args, context, _next = nil) ⇒ Object

Execute the field's resolve method



216
217
218
# File 'lib/graphql/execution/execute.rb', line 216

def self.call(_parent_type, parent_object, field_definition, field_args, context, _next = nil)
  field_definition.resolve(parent_object, field_args, context)
end