Skip to content

Commit 6ce8958

Browse files
committed
Move parens to part of other sentence
1 parent 9fd26c9 commit 6ce8958

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/source/data/fragments.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,12 +1561,11 @@ You can use a technique called 'higher-kinded types' (HKT) to provide your own t
15611561
15621562
Let's add our own type overrides for the `MaybeMasked` and `Unmasked` utility types.
15631563
1564-
The `MaybeMasked` type is used throughout Apollo Client to return the masked or unmasked type definition for a given type, assuming they have data masking types enabled and are "mask-able" - otherwise it will just return the "unmasked" type that is passed in.
1565-
(So when writing these types, you can assume that the user has data masking types enabled.)
1564+
The `MaybeMasked` type is used throughout Apollo Client to return the masked or unmasked type definition for a given type, assuming they have data masking types enabled and are "mask-able" - otherwise it will just return the "unmasked" type that is passed in.
15661565
15671566
The `Unmasked` type unwraps a masked type to its full result type and is used throughout Apollo Client where the full data type is needed for a given API (e.g. `client.writeQuery`).
15681567
1569-
For this example, we'll assume the operation types are generated using two variations:
1568+
For this example, we'll assume the data masking types are enabled and the operation types are generated using two variations:
15701569
15711570
1. Data masked types are generated with a `__masked` virtual property. Its value is the operation type with any masked fields removed from the type.
15721571

0 commit comments

Comments
 (0)