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

Add data masking to fragments read by `useFragment`/`watchFragment` #12018

Closed jerelmiller closed 2 months ago

jerelmiller commented 2 months ago

Closes https://github.com/apollographql/apollo-client/issues/12022

Adds data masking to watchFragment and useFragment.

changeset-bot[bot] commented 2 months ago

⚠️ No Changeset found

Latest commit: 8970b7d95244cae5f91dca5a52480045a031ad3c

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

jerelmiller commented 2 months ago

Moving to draft until I've moved this to work with the client.watchFragment, but not cache.readFragment as discussed in #12019