-
-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
breaking(query): migrate to tanstack/query-core v4 & make QueryKey's type generic #1126
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit cd1de8b:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestion!
This is the first comment. Will have another look after the fix.
@aulneau is busy?? |
@dai-shi my apologies -- been quite busy, I will try and run this locally this week and get a review in :) appreciate everyones patience 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My second review while waiting a response from @aulneau .
@liaoliao666 Hi, #1239 is merged. Can you make this to base on it? |
@dai-shi done |
I should have been clearer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The diff looks clean. Thanks.
We also need to change the docs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good. (I do worry about too complicated generic types though.)
The remaining is to make the doc to follow the change. You want to merge main
before modifying the doc.
BREAKING CHANGES:
@tanstack/query-core
.payload
.