Skip to content

Commit 080c8b6

Browse files
authored
Editorial: clarify input object introspection (#838)
Factored out of #777 - this rephrases input object introspection to be more accurate.
1 parent 9cb9a4b commit 080c8b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spec/Section 4 -- Introspection.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,9 @@ Fields
318318

319319
#### Input Object
320320

321-
Input objects are composite types used as inputs into queries defined as a list
322-
of named input values.
321+
Input objects are composite types defined as a list of named input values. They
322+
are only used as inputs to arguments and variables and cannot be a field
323+
return type.
323324

324325
For example the input object `Point` could be defined as:
325326

0 commit comments

Comments
 (0)