class GraphQL::Dataloader::Request

@see Source#request which returns an instance of this

def initialize(source, key)

def initialize(source, key)
  @source = source
  @key = key
end

def load

Returns:
  • (Object) - the object loaded for `key`
def load
  @source.load(@key)
end