File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -566,14 +566,14 @@ will be present and `friends` will not.
566
566
567
567
``` js
568
568
{
569
- " profiles" : [
569
+ " profiles" : [
570
570
{
571
- " handle" : " zuck" ,
572
- " friends" : { " count" : 1234 }
571
+ " handle" : " zuck" ,
572
+ " friends" : { " count" : 1234 }
573
573
},
574
574
{
575
- " handle" : " cocacola" ,
576
- " likers" : { " count" : 90234512 }
575
+ " handle" : " cocacola" ,
576
+ " likers" : { " count" : 90234512 }
577
577
}
578
578
]
579
579
}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ would return
37
37
``` js
38
38
{
39
39
" __type" : {
40
- " name" : " User" ,
40
+ " name" : " User" ,
41
41
" fields" : [
42
42
{
43
43
" name" : " id" ,
@@ -109,8 +109,8 @@ and `__type` which are accessible from the type of the root of a query
109
109
operation.
110
110
111
111
```
112
- __schema : __Schema!
113
- __type(name: String!) : __Type
112
+ __schema: __Schema!
113
+ __type(name: String!): __Type
114
114
```
115
115
116
116
These fields are implicit and do not appear in the fields list in the root type
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ type Dog implements Pet {
42
42
name: String!
43
43
nickname: String
44
44
barkVolume: Int
45
- doesKnowCommand(dogCommand: DogCommand!) : Boolean!
45
+ doesKnowCommand(dogCommand: DogCommand!): Boolean!
46
46
isHousetrained(atOtherHomes: Boolean): Boolean!
47
47
owner: Human
48
48
}
@@ -69,7 +69,7 @@ enum CatCommand { JUMP }
69
69
type Cat implements Pet {
70
70
name: String!
71
71
nickname: String
72
- doesKnowCommand(catCommand: CatCommand!) : Boolean!
72
+ doesKnowCommand(catCommand: CatCommand!): Boolean!
73
73
meowVolume: Int
74
74
}
75
75
You can’t perform that action at this time.
0 commit comments