Module: GraphQL::Compatibility::ExecutionSpecification::SpecificationSchema::TestMiddleware

Defined in:
lib/graphql/compatibility/execution_specification/specification_schema.rb

Class Method Summary collapse

Class Method Details

.call(parent_type, parent_object, field_definition, field_args, query_context, &next_middleware) ⇒ Object



52
53
54
55
# File 'lib/graphql/compatibility/execution_specification/specification_schema.rb', line 52

def self.call(parent_type, parent_object, field_definition, field_args, query_context, &next_middleware)
  query_context[:middleware_log] && query_context[:middleware_log] << field_definition.name
  next_middleware.call
end