apollo-datasource-mongodb icon indicating copy to clipboard operation
apollo-datasource-mongodb copied to clipboard

fix: deleteFromCacheByFields to mirror logic from findByFields

Open bentburton opened this issue 3 years ago • 0 comments

Currently deleteFromCacheByFields doesn't follow the same logic as findByFields for the loader key. This leads to incorrect behavior when the cache is supposed to be invalidated from a call to deleteFromCacheByFields but findByFields keeps returning the stale result because of the loader field mismatch.

bentburton avatar May 10 '22 21:05 bentburton