Skip to content

Commit 4e9d192

Browse files
eventualbuddhaSashko Stubailo
authored and
Sashko Stubailo
committed
Correct ofType name forid to be ID (graphql#191)
1 parent 0407e13 commit 4e9d192

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/learn/Learn-Introspection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ Those are our fields that we defined on `Droid`!
136136

137137
`id` looks a bit weird there, it has no name for the type. That's
138138
because it's a "wrapper" type of kind `NON_NULL`. If we queried for
139-
`ofType` on that field's type, we would find the `String` type there,
140-
telling us that this is a non-null String.
139+
`ofType` on that field's type, we would find the `ID` type there,
140+
telling us that this is a non-null ID.
141141

142142
Similarly, both `friends` and `appearsIn` have no name, since they are the
143143
`LIST` wrapper type. We can query for `ofType` on those types, which will

0 commit comments

Comments
 (0)