We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2076e32 commit 2e8dfaaCopy full SHA for 2e8dfaa
spec/graphql/dataloader/source_spec.rb
@@ -23,7 +23,8 @@ def fetch(keys)
23
dl.with(FailsToLoadSource).request(nil)
24
25
source_cache = dl.instance_variable_get(:@source_cache)
26
- assert source_cache[FailsToLoadSource][[{}]].pending?
+ source_cache_for_source = source_cache[FailsToLoadSource]
27
+ assert source_cache_for_source[[{}]].pending?, "The cache includes a pending source (#{source_cache_for_source.inspect})"
28
end
29
30
class CustomKeySource < GraphQL::Dataloader::Source
0 commit comments