Closed jerelmiller closed 1 month ago
Latest commit: 6da758c5d99ba3dd77fdcc76233347e0a433b1cc
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.
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
Closes https://github.com/apollographql/apollo-client/issues/12023
Masks data returned from mutations. This affects a few places:
data
returned fromclient.mutate()
data
returned fromuseMutation
data
passed toonCompleted
inuseMutation
This does not however apply data masking to the
update
function passed toclient.mutate
oruseMutation
since this callback is primarily used for cache writes.