lib/graphql/batch/setup_multiplex.rb in graphql-batch-0.4.3 vs lib/graphql/batch/setup_multiplex.rb in graphql-batch-0.5.0
- old
+ new
@@ -4,17 +4,13 @@
@schema = schema
@executor_class = executor_class
end
def before_multiplex(multiplex)
- Setup.start_batching(@executor_class)
+ GraphQL::Batch::Executor.start_batch(@executor_class)
end
def after_multiplex(multiplex)
- Setup.end_batching
- end
-
- def instrument(type, field)
- Setup.instrument_field(@schema, type, field)
+ GraphQL::Batch::Executor.end_batch
end
end
end