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



313
314
315
# File 'lib/graphql/execution/execute.rb', line 313

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