Skip to content

Commit

Permalink
Reword definition of masked types
Browse files Browse the repository at this point in the history
Co-authored-by: Maria Elisabeth Schreiber <[email protected]>
  • Loading branch information
jerelmiller and Meschreiber authored Dec 4, 2024
1 parent 050b0c0 commit 341bc0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/data/fragments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ query GetPosts {
Apollo Client provides robust TypeScript support for data masking. We've integrated data masking with [GraphQL Codegen](https://the-guild.dev/graphql/codegen) and the type format generated by its [Fragment Masking](https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#fragment-masking) feature.
Masked types don't include fields in your operation type that are part of a fragment spread. As an example, let's use the following query.
Masked types don't include fields from fragment spreads. As an example, let's use the following query.
```graphql
query GetCurrentUser {
Expand Down

0 comments on commit 341bc0c

Please sign in to comment.