Sha256: 499bcea4d0d34d26e34b0c56ba2112049d94ab455f44fa4728cfd4e4f9e2b3d1
Contents?: true
Size: 346 Bytes
Versions: 1
Compression:
Stored size: 346 Bytes
Contents
module GraphQL::Batch class SetupMultiplex def initialize(schema) @schema = schema end def before_multiplex(multiplex) Setup.start_batching end def after_multiplex(multiplex) Setup.end_batching end def instrument(type, field) Setup.instrument_field(@schema, type, field) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
graphql-batch-0.3.5 | lib/graphql/batch/setup_multiplex.rb |