-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for @defer queries in useSuspenseQuery * Add test to verify deferred queries work with lists * Add more tests to ensure deferred queries work with various conditions * Add tests to ensure cached data is properly returned with deferred queries * Add tests to check error behavior returned by first chunk * Add handling of errors returned in deferred chunks * Add tests to validate errorPolicy behavior with deferred queries * Slight change to verbiage in test * Add test to verify partial data with returnPartialData * Update bundlesize * Rename function to better convey intent * Enable skipped tests since fix is merged to `main` * Add changeset * Update comment for reobserveAsConcast * Update bundlesize * Update bundlesize Co-authored-by: Alessia Bellisario <alessia@apollographql.com>
- Loading branch information
1 parent
ad852e8
commit 95eb228
Showing
5 changed files
with
1,519 additions
and
15 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@apollo/client': patch | ||
--- | ||
|
||
Add `@defer` support to `useSuspenseQuery`. |
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.