Some piece of code is setting the wrong value in the cache, and I can't figure out which one it is
I have around 20 different callsites where I
setQueryData
on a key. While I could go over one by one, comment them out, then comment them back in, is there a way to kind of get in between and print the stacktrace of all setQueryData calls, and which value it is setting the cache entry to?1 Reply
conscious-sapphire•11mo ago
queryClient.getQueryCache().subscribe()