Skip to content

Commit 2c6620c

Browse files
committed
Fix variables heading in validation section;
1 parent 61cbbb8 commit 2c6620c

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

spec/Section 5 -- Validation.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,11 +1083,9 @@ For example the following query will not pass validation.
10831083
GraphQL servers define what directives they support. For each
10841084
usage of a directive, the directive must be available on that server.
10851085

1086-
## Operations
1087-
1088-
### Variables
1086+
## Variables
10891087

1090-
#### Variable Default Values Are Correctly Typed
1088+
### Variable Default Values Are Correctly Typed
10911089

10921090
** Formal Specification **
10931091

@@ -1150,7 +1148,7 @@ query intToFloatQuery($floatVar: Float = 1) {
11501148
}
11511149
```
11521150

1153-
#### Variables Are Input Types
1151+
### Variables Are Input Types
11541152

11551153
** Formal Specification **
11561154

@@ -1203,7 +1201,7 @@ query takesCatOrDog($catOrDog: CatOrDog) {
12031201
}
12041202
```
12051203

1206-
#### All Variable Uses Defined
1204+
### All Variable Uses Defined
12071205

12081206
** Formal Specification **
12091207

@@ -1345,7 +1343,7 @@ This is because {housetrainedQueryTwoNotDefined} does not define
13451343
a variable ${atOtherHomes} but that variable is used by {isHousetrainedFragment}
13461344
which is included in that operation.
13471345

1348-
#### All Variables Used
1346+
### All Variables Used
13491347

13501348
** Formal Specification **
13511349

@@ -1427,7 +1425,7 @@ fragment isHousetrainedFragment on Dog {
14271425
This document is not valid because {queryWithExtraVar} defines
14281426
an extraneous variable.
14291427

1430-
#### All Variable Usages are Allowed
1428+
### All Variable Usages are Allowed
14311429

14321430
** Formal Specification **
14331431

0 commit comments

Comments
 (0)