File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -566,14 +566,14 @@ will be present and `friends` will not.
566566
567567``` js
568568{
569- " profiles" : [
569+ " profiles" : [
570570 {
571- " handle" : " zuck" ,
572- " friends" : { " count" : 1234 }
571+ " handle" : " zuck" ,
572+ " friends" : { " count" : 1234 }
573573 },
574574 {
575- " handle" : " cocacola" ,
576- " likers" : { " count" : 90234512 }
575+ " handle" : " cocacola" ,
576+ " likers" : { " count" : 90234512 }
577577 }
578578 ]
579579}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ would return
3737``` js
3838{
3939 " __type" : {
40- " name" : " User" ,
40+ " name" : " User" ,
4141 " fields" : [
4242 {
4343 " name" : " id" ,
@@ -109,8 +109,8 @@ and `__type` which are accessible from the type of the root of a query
109109operation.
110110
111111```
112- __schema : __Schema!
113- __type(name: String!) : __Type
112+ __schema: __Schema!
113+ __type(name: String!): __Type
114114```
115115
116116These 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 {
4242 name: String!
4343 nickname: String
4444 barkVolume: Int
45- doesKnowCommand(dogCommand: DogCommand!) : Boolean!
45+ doesKnowCommand(dogCommand: DogCommand!): Boolean!
4646 isHousetrained(atOtherHomes: Boolean): Boolean!
4747 owner: Human
4848}
@@ -69,7 +69,7 @@ enum CatCommand { JUMP }
6969type Cat implements Pet {
7070 name: String!
7171 nickname: String
72- doesKnowCommand(catCommand: CatCommand!) : Boolean!
72+ doesKnowCommand(catCommand: CatCommand!): Boolean!
7373 meowVolume: Int
7474}
7575
You can’t perform that action at this time.
0 commit comments