Skip to content

Commit 8df74a3

Browse files
authored
Merge pull request graphql#567 from dhurlburtusa/patch-1
Refer Back to Self
2 parents c7ff713 + b7f230c commit 8df74a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/graphql-js/APIReference-TypeSystem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,8 @@ an object type.
530530
var PersonType = new GraphQLObjectType({
531531
name: 'Person',
532532
fields: () => ({
533-
parents: { type: new GraphQLList(Person) },
534-
children: { type: new GraphQLList(Person) },
533+
parents: { type: new GraphQLList(PersonType) },
534+
children: { type: new GraphQLList(PersonType) },
535535
})
536536
});
537537
```

0 commit comments

Comments
 (0)