Skip to content
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

Support returnPartialData and refetchWritePolicy in useBackgroundQuery #10960

Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
861639d
chore: improve type signature of useBackgroundQuery refetch
alessbell May 18, 2023
243aa17
chore: improve useBackgroundQuery/useReadQuery types and type tests
alessbell Jun 5, 2023
c29a5a4
chore: update code comments
alessbell Jun 5, 2023
0e0e7e1
chore: add changeset
alessbell Jun 5, 2023
35550c4
chore: fix explicit/inferred references in uSQ test
alessbell Jun 5, 2023
2cfdf18
Merge branch 'release-3.8' into issue-10878-improve-useBackgroundQuer…
alessbell Jun 7, 2023
2234a0a
chore: updates types to accept returnPartialData | refetchWritePolicy
alessbell Jun 7, 2023
dad1128
chore: wip tests
alessbell Jun 7, 2023
7bcb22b
chore: fix merge conflicts
alessbell Jun 26, 2023
396c80a
fix: address review comments
alessbell Jun 26, 2023
1062ca6
fix: remove redundant test cases already in place
alessbell Jun 26, 2023
6d0d3a4
tests: adds refetchWritePolicy tests
alessbell Jun 27, 2023
d94180d
tests: adds returnPartialData test case
alessbell Jun 27, 2023
4206168
chore: removes accidentally duplicated type tests
alessbell Jun 27, 2023
f2347fd
tests: adds returnPartialData tests and counts renders in child compo…
alessbell Jun 28, 2023
1419c34
tests: adds two more returnPartialData tests
alessbell Jun 28, 2023
c7b1a6e
tests: adds cache-and-network + returnPartialData test case
alessbell Jun 28, 2023
3085b63
tests: adds defer test case
alessbell Jun 28, 2023
f63015c
chore: fix merge conflict
alessbell Jun 28, 2023
e20e0f7
chore: adds changeset
alessbell Jun 28, 2023
c6dbd17
Merge branch 'release-3.8' into issue-10893-support-returnPartialData…
alessbell Jun 28, 2023
c12e24c
chore: resolve merge conflicts
alessbell Jun 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/spotty-news-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@apollo/client': patch
---

Adds support for `returnPartialData` and `refetchWritePolicy` options in `useBackgroundQuery` hook.
Loading