Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Data masking] Provide solution for TypeScript type compatibility for APIs that use both the masked result and full result #12041

Open
jerelmiller opened this issue Aug 28, 2024 · 0 comments
Labels
🐞 bug 🎭 data-masking Issues/PRs related to data masking
Milestone

Comments

@jerelmiller
Copy link
Member

With the introduction of data masking throughout Apollo Client, there are some APIs that use both the masked result and the full result. For example, useMutation returns a data property that is masked, but the update callback receives the full unmasked result. This creates a problem with the existing typings since right now you can only specify one or the other. We'll need to create something that can handle both.

@jerelmiller jerelmiller added 🐞 bug 🎭 data-masking Issues/PRs related to data masking labels Aug 28, 2024
@jerelmiller jerelmiller added this to the Data masking milestone Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug 🎭 data-masking Issues/PRs related to data masking
Projects
None yet
Development

No branches or pull requests

1 participant