apollographql / apollo-client

:rocket:  A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.
https://apollographql.com/client
MIT License
19.34k stars 2.66k forks source link

fix: initialFetchPolicy instead initialPolicy #11797

Closed yevmoroz closed 5 months ago

yevmoroz commented 5 months ago

Fixing documentation for ApolloClient.defaultOptions.watchQuery.nextFetchPolicy custom function. Considerations:

apollo-cla commented 5 months ago

@yevmoroz: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

netlify[bot] commented 5 months ago

Deploy request for apollo-client-docs pending review.

Visit the deploys page to approve it

Name Link
Latest commit 0408280c33a8214759d51b6e53734923ce2df71b
changeset-bot[bot] commented 5 months ago

⚠️ No Changeset found

Latest commit: 0408280c33a8214759d51b6e53734923ce2df71b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR