Konrad Lisiczyński

Results 196 comments of Konrad Lisiczyński

Please provide some example, it will be easier for me to understand the issue. Thanks!

> Now when I normalize this data, I want normy to cache the assignee data to the react cache key for the assignee object Normy does not affect at all...

Thanks for this! I will try to take a look at it tonight or tomorrow

Answering your question, I think this could be simplified, so that `getQueriesById` could become `getDependentQueries`, with function signature like https://github.com/klis87/normy/pull/30/files#diff-c9ad1d40a741269a37b45817e1b5a8cd381523e31e8b9bef8452accc9cc0516fL154 , so it would just accept `data`, like `getQueriesToUpdate` So...

By the way, I think my suggestion is not entirely correct, as I believe for new helpers, we do not want https://github.com/klis87/normy/pull/30/files#diff-c9ad1d40a741269a37b45817e1b5a8cd381523e31e8b9bef8452accc9cc0516fR134 to be executed, right? This is optimalization, which...

I am not sure we are align here, but generally this code I mentioned is done as performance optimization - imagine you have a query with data `{ id: 1,...

Cool! I think I will create a PR myself so you can review it before we release the new version

I merged your PR and done the core part, including tests so you could see how it behaves https://github.com/klis87/normy/commit/bba3045736441fe0c1da50f693669c2432fb649b Tomorrow I will try to finish react-query

Hi, I released this new feature as https://github.com/klis87/normy/releases/tag/%40normy%2Freact-query%400.16.0 Note, that I slightly changed the idea, I exposed only getters to get list of query keys, but I did not expose...

Before I answer, why do you need invalidation instead of in place data update? Do you need adding items to/removing from arrays perhaps?