Solutionunvalidated
Use the same query argument value that identifies the `getUsers` cache entry (for `getUsers: query: (count) => ...`, pass the `count` as the cache key). In `onQueryStarted`, destructure the mutation argument accordingly (e.g., `{ count, ...patch }`) and call `updateQueryData('getUsers', count, ...)`.
a98daa40-ae4d-4ab0-9ce3-8bb8bbcbd1be
Use the same query argument value that identifies the getUsers cache entry (for getUsers: query: (count) => ..., pass the count as the cache key). In onQueryStarted, destructure the mutation argument accordingly (e.g., { count, ...patch }) and call updateQueryData('getUsers', count, ...).