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.38k stars 2.66k forks source link

[docs] Update cache-configuration keyFields docs #11778

Open smyrick opened 7 months ago

smyrick commented 7 months ago

The docs were missing an explanation of how the keyFields can use false or a function

I would also appreciate a review from the team as I wrote this up from TS types

changeset-bot[bot] commented 7 months ago

⚠️ No Changeset found

Latest commit: 0c33efdf19d3f59875c64c4160e7e07342cdf6e9

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

netlify[bot] commented 7 months ago

Deploy Preview for apollo-client-docs ready!

Name Link
Latest commit 0c33efdf19d3f59875c64c4160e7e07342cdf6e9
Latest deploy log https://app.netlify.com/sites/apollo-client-docs/deploys/66305216b407320008bc124a
Deploy Preview https://deploy-preview-11778--apollo-client-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

smyrick commented 7 months ago

@jerelmiller @adamesque I made some doc updates, but feel free to add inline suggestions or more context as needed