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

[Data masking] Mask named fragments from data returned in `cache.readQuery` #12025

Closed jerelmiller closed 2 months ago

jerelmiller commented 2 months ago

After more consideration, this is something we aren't going to do. Cache reads are typically coupled with cache writes and masking data in a cache read significantly increases the complexity to properly handle cache writes.

github-actions[bot] commented 2 months ago

Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Client usage and allow us to serve you better.

github-actions[bot] commented 1 month ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. For general questions, we recommend using StackOverflow or our discord server.