-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
fix(react-query): prevent type errors and improve inference for dynamic queries on useQueries, useSuspenseQueries and createQueries #8624
Merged
Merged
Changes from 5 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
a0e71f3
fix(react-query): prevent type errors and improve inference for dynam…
gs18004 a761dc9
fix(react-query): improve type inference for useQueries and useSuspen…
gs18004 df4aebb
fix(react-query): fix type of queries in useQueries and useSuspenseQu…
gs18004 30ee20b
refactor: remove meaningless depths
gs18004 e8d383a
Merge branch 'main' into bug/7974
TkDodo fdfd8b9
test(react-query): move type only tests
gs18004 0c007c4
test(react-query): fix type test error
gs18004 5e0b9e5
fix(vue-query): prevent type errors and improve inference for dynamic…
gs18004 caf92c2
Merge branch 'main' into bug/7974
TkDodo fb1b7b9
fix: prevent type errors and improve inference for dynamicqueries
gs18004 bbf5fde
fix: solid type tests
TkDodo 71f27b6
fix: prevent type errors and improve inference for dynamic queries
gs18004 76344c2
chore: remove test
TkDodo fc823a1
Merge branch 'main' into bug/7974
TkDodo 6b91ff0
test(react-query): fix failing type tests
gs18004 4d5306e
Merge branch 'main' into bug/7974
TkDodo 9d7d7ca
Merge branch 'main' into bug/7974
gs18004 4e6ffb5
Merge branch 'main' into bug/7974
gs18004 37c4f3c
Merge branch 'main' into bug/7974
gs18004 ab45e8b
fix: fix test syntax error
gs18004 4a85362
test(react-query): remove tests for result[0].data
gs18004 65bbb85
Merge branch 'main' into bug/7974
gs18004 083e349
fix: change the result fallback to fix test fail
gs18004 08db211
Merge branch 'main' into bug/7974
TkDodo d3cce4c
rollback(angular-query-experimental): restore injectQueries
gs18004 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
type only tests should please go towards the dedicated
.test-d.tsx
files:packages/react-query/src/__tests__/useQueries.test-d.tsx
packages/react-query/src/__tests__/useSuspenseQueries.test-d.tsx
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.
Okay, I will fix this.