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
-
.call(_parent_type, parent_object, field_definition, field_args, context, _next = nil) ⇒ Object
Execute the field's resolve method.
Class Method Details
.call(_parent_type, parent_object, field_definition, field_args, context, _next = nil) ⇒ Object
Execute the field's resolve method
204 205 206 |
# File 'lib/graphql/execution/execute.rb', line 204 def self.call(_parent_type, parent_object, field_definition, field_args, context, _next = nil) field_definition.resolve(parent_object, field_args, context) end |