Skip to content

Commit 2664799

Browse files
committed
update doc
1 parent e4f73f0 commit 2664799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/graphql/dataloader/loader.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def fulfilled_value_for(key)
135135
end
136136

137137
def perform(values)
138-
raise NotImplementedError, "`#{self.class}#perform` should load `values` for `@key` and return an item for each of `values`"
138+
raise NotImplementedError, "`#{self.class}#perform` should call `fulfill(v, loaded_value)` for each of `values`"
139139
end
140140
end
141141
end

0 commit comments

Comments
 (0)