Skip to content

Commit 05fde06

Browse files
committed
graphgl -> graphql
1 parent bb225f7 commit 05fde06

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

spec/Section 5 -- Validation.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,7 @@ field must not be {null}.
14911491

14921492
An empty Oneof Input Object is invalid.
14931493

1494-
```graphgl counter-example
1494+
```graphql counter-example
14951495
query addPet {
14961496
addPet(pet: {}) {
14971497
name
@@ -1501,23 +1501,23 @@ query addPet {
15011501

15021502
Multiple fields are not allowed.
15031503

1504-
```graphgl counter-example
1504+
```graphql counter-example
15051505
query addPet($cat: CatInput, $dog: DogInput) {
15061506
addPet(pet: {cat: $cat, dog: $dog}) {
15071507
name
15081508
}
15091509
}
15101510
```
15111511

1512-
```graphgl counter-example
1512+
```graphql counter-example
15131513
query addPet($dog: DogInput) {
15141514
addPet(pet: { cat: { name: "Brontie" }, dog: $dog }) {
15151515
name
15161516
}
15171517
}
15181518
```
15191519

1520-
```graphgl counter-example
1520+
```graphql counter-example
15211521
query addPet {
15221522
addPet(pet: { cat: { name: "Brontie" }, dog: null }) {
15231523
name
@@ -1528,15 +1528,15 @@ query addPet {
15281528

15291529
Variables used for Oneof Input Object fields must be non-nullable.
15301530

1531-
```graphgl example
1531+
```graphql example
15321532
query addPet($cat: CatInput!) {
15331533
addPet(pet: { cat: $cat }) {
15341534
name
15351535
}
15361536
}
15371537
```
15381538

1539-
```graphgl counter-example
1539+
```graphql counter-example
15401540
query addPet($cat: CatInput) {
15411541
addPet(pet: { cat: $cat }) {
15421542
name
@@ -1548,15 +1548,15 @@ query addPet($cat: CatInput) {
15481548
If a field with a literal value is present then the value must
15491549
not be {null}.
15501550

1551-
```graphgl example
1551+
```graphql example
15521552
query addPet {
15531553
addPet(pet: { cat: { name: "Brontie" } }) {
15541554
name
15551555
}
15561556
}
15571557
```
15581558

1559-
```graphgl counter-example
1559+
```graphql counter-example
15601560
query addPet {
15611561
addPet(pet: { cat: null }) {
15621562
name

0 commit comments

Comments
 (0)