Module: BatchLoader::GraphQL::Trace

Defined in:
lib/batch_loader/graphql.rb

Instance Method Summary collapse

Instance Method Details

#execute_field(**_data) ⇒ Object



6
7
8
9
# File 'lib/batch_loader/graphql.rb', line 6

def execute_field(**_data)
  result = super
  result.respond_to?(:__sync) ? BatchLoader::GraphQL.wrap_with_warning(result) : result
end