I have a use case where I need to call a paged api like;
https://rickandmortyapi.com/api/character?page=4&name=ric
https://rickandmortyapi.com/api/character?page=5&name=ric
when we make those queries with react-query, each call will add its data to cache with different cacheKey AFAIK.
What I need is to be able to check if an object is already created in the cache, by its id maybe, in any one of that paged query calls?