Class: GraphQL::Batch::ExecutionStrategy

Inherits:
Query::SerialExecution
  • Object
show all
Defined in:
lib/graphql/batch/execution_strategy.rb

Defined Under Namespace

Classes: FieldResolution

Instance Method Summary collapse

Instance Method Details

#execute(_, _, _) ⇒ Object



3
4
5
6
7
# File 'lib/graphql/batch/execution_strategy.rb', line 3

def execute(_, _, _)
  as_promise(super).sync
ensure
  GraphQL::Batch::Executor.current.clear
end