File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/graphql/fragment_cache Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def read_multi(fragments)
4040 )
4141 end
4242 rescue
43- # Allow cache_lookup_event to fail when we do not have the data we need
43+ # Allow cache_lookup_event to fail when we do not have all of the requested attributes
4444 end
4545
4646 # Fragmenst without values or with renew_cache: true in their context will have nil values like the read method
@@ -101,7 +101,7 @@ def final_value
101101 @final_value ||= context . query . result [ "data" ]
102102 end
103103
104- def cache_lookup_event ( cache_key , operation_name , path , cache_hit )
104+ def cache_lookup_event ( ** args )
105105 # This method can be implemented in your application
106106 # This provides a mechanism to monitor cache hits for a fragment
107107 end
You can’t perform that action at this time.
0 commit comments