Sha256: 856d8907131b4198330b7d1130a3ddae595c26a5fa0e76b3ed56d452e1c76d3c
Contents?: true
Size: 336 Bytes
Versions: 1
Compression:
Stored size: 336 Bytes
Contents
module GraphQL::Batch module SetupMultiplex extend self def before_multiplex(multiplex) raise NestedError if GraphQL::Batch::Executor.current GraphQL::Batch::Executor.current = GraphQL::Batch::Executor.new end def after_multiplex(multiplex) GraphQL::Batch::Executor.current = nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
graphql-batch-0.3.4 | lib/graphql/batch/setup_multiplex.rb |