Skip to content

Commit 5eb5cac

Browse files
authored
Tweak migration guide for refetchQueries with all/active meaning (#13178)
This was brought up in #13175. Adding an explicit reference to "all" and "active" keywords to avoid confusion. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Clarified migration guide to specify when query behavior changes apply when using "active" or "all" keywords, improving guidance on how ObservableQuery instances are affected during migration to Apollo Client 4. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2 parents 1f6decb + b98def4 commit 5eb5cac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/source/migrating/apollo-client-4-migration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ A query is in standby if it is skipped with the `skip` option or `skipToken` in
999999
10001000
</Note>
10011001
1002-
This change affects the queries returned by `client.getObservableQueries` or the queries fetched by `refetchQueries` as these no longer include `ObservableQuery` instances without subscribers.
1002+
This change affects the queries returned by `client.getObservableQueries` or the queries fetched by `refetchQueries` when using the `"active"` or `"all"` keywords, as these no longer include `ObservableQuery` instances without subscribers.
10031003
10041004
### Removal of the `canonizeResults` option
10051005

0 commit comments

Comments
 (0)