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

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

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

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

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Execute the field's resolve method



294
295
296
# File 'lib/graphql/execution/execute.rb', line 294

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