Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Fix query deduplication documentation #1300

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Kujawadl
Copy link

@Kujawadl Kujawadl commented Jul 1, 2020

The forceFetch option is overridden by apollo-client based on the queryDeduplication option provided in either the client initialization or the query context, and can therefore be considered an internal value.

Since forceFetch is internal, and queryDeduplication is the option to enable/disable the dedup logic, the docs should reference queryDeduplication instead.

I've also clarified a little bit about how it can be disabled globally.

These changes are in conjunction with apollographql/apollo-client#6261 (and apollographql/apollo-client#6526 for a possible v2.6 release).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant