Skip to content

Commit 4dc59ca

Browse files
committed
format
1 parent 12793fc commit 4dc59ca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spec/Section 2 -- Language.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,7 @@ query withFragments {
626626
}
627627
}
628628
```
629+
629630
```graphql example
630631
"Fields required to display a friend's profile"
631632
fragment friendProfile on User {
@@ -634,9 +635,10 @@ fragment friendProfile on User {
634635
profilePic(size: 50)
635636
}
636637
```
638+
637639
If `friendProfile` no longer needs `name`, the `name` field can be removed from
638-
the `friendProfile` fragment and it will no longer be fetched in both locations the
639-
fragment is consumed.
640+
the `friendProfile` fragment and it will no longer be fetched in both locations
641+
the fragment is consumed.
640642

641643
Fragments are consumed by using the spread operator (`...`). All fields selected
642644
by the fragment will be added to the field selection at the same level as the

0 commit comments

Comments
 (0)