query
query copied to clipboard
refactor(queryClient): accept generics on setQueryDefaults and setMutationDefaults
Disclaimer
I needed the same features and noticed that PR #5983 was closed without explanation. I assumed it might have been automatically closed due to the deletion of the rc
branch (the base branch of that PR). I’ve picked up the work to resolve the remaining error and update the code with recent changes.
I am not trying to take credit for @DarioSiroki's work and feel free to close this PR if #5983 is still valid. I apologize if I misunderstood the situation and the PR was closed for other reasons.
Description
This PR updates @DarioSiroki’s changes from PR #5983 by merging the latest updates from the main branch. It incorporates all recent modifications and resolves the remaining build error related to the vue-query library.