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

Version Path
graphql-1.8.6 lib/generators/graphql/templates/loader.erb
graphql-1.8.5 lib/generators/graphql/templates/loader.erb
graphql-1.8.4 lib/generators/graphql/templates/loader.erb
graphql-1.8.3 lib/generators/graphql/templates/loader.erb
graphql-1.8.2 lib/generators/graphql/templates/loader.erb
graphql-1.8.1 lib/generators/graphql/templates/loader.erb
graphql-1.8.0 lib/generators/graphql/templates/loader.erb
graphql-1.8.0.pre11 lib/generators/graphql/templates/loader.erb
graphql-1.8.0.pre10 lib/generators/graphql/templates/loader.erb
graphql-1.7.14 lib/generators/graphql/templates/loader.erb
graphql-1.8.0.pre9 lib/generators/graphql/templates/loader.erb
graphql-1.8.0.pre8 lib/generators/graphql/templates/loader.erb
graphql-1.7.13 lib/generators/graphql/templates/loader.erb
graphql-1.8.0.pre7 lib/generators/graphql/templates/loader.erb
graphql-1.7.12 lib/generators/graphql/templates/loader.erb
graphql-1.7.11 lib/generators/graphql/templates/loader.erb
graphql-1.7.10 lib/generators/graphql/templates/loader.erb
graphql-1.8.0.pre6 lib/generators/graphql/templates/loader.erb
graphql-1.8.0.pre5 lib/generators/graphql/templates/loader.erb
graphql-1.7.9 lib/generators/graphql/templates/loader.erb