Skip to content

Commit 187d816

Browse files
committed
Merge pull request #106 from dylanahsmith/fix-invalid-fragment-syntax
Fix invalid fragment syntax in one of the examples.
2 parents 6cd96c0 + b6d726f commit 187d816

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/Section 5 -- Validation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,15 +349,15 @@ are the leaf nodes of any GraphQL query.
349349
The following is valid.
350350

351351
```graphql
352-
fragment scalarSelection: Dog {
352+
fragment scalarSelection on Dog {
353353
barkVolume
354354
}
355355
```
356356

357357
The following is invalid.
358358

359359
```!graphql
360-
fragment scalarSelectionsNotAllowedOnBoolean : Dog {
360+
fragment scalarSelectionsNotAllowedOnBoolean on Dog {
361361
barkVolume {
362362
sinceWhen
363363
}

0 commit comments

Comments
 (0)