Sha256: 3bb40edb94f96519aaa52a4af6c7be67500fd8c8cb88ff3fc06d6b1eb36e280b
Contents?: true
Size: 400 Bytes
Versions: 25
Compression:
Stored size: 400 Bytes
Contents
class Loaders::<%= class_name %> < GraphQL::Batch::Loader # Define `initialize` to store grouping arguments, eg # # Loaders::<%= class_name %>.for(group).load(value) # # def initialize() # end # `keys` contains each key from `.load(key)`. # Find the corresponding values, then # call `fulfill(key, value)` or `fulfill(key, nil)` # for each key. def perform(keys) end end
Version data entries
25 entries across 25 versions & 1 rubygems