Skip to content

Commit 413b1fb

Browse files
authored
Update Section 2 -- Language.md
1 parent 4de8782 commit 413b1fb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spec/Section 2 -- Language.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ LineTerminator ::
9090
Like white space, line terminators are used to improve the legibility of source
9191
text and separate lexical tokens, any amount may appear before or after any
9292
other token and have no significance to the semantic meaning of a GraphQL
93-
Document. Line terminators are not found within any other token.
93+
Document.
9494

9595
Note: Any error reporting which provides the line number in the source of the
9696
offending syntax should use the preceding amount of {LineTerminator} to produce
@@ -358,8 +358,8 @@ piece of information available to request within a selection set.
358358
Some fields describe complex data or relationships to other data. In order to
359359
further explore this data, a field may itself contain a selection set, allowing
360360
for deeply nested requests. All GraphQL operations must specify their selections
361-
down to fields which return scalar values to ensure an unambiguously shaped
362-
response.
361+
down to fields which return scalar or enum values (or lists of those types)
362+
to ensure an unambiguously shaped response.
363363

364364
For example, this operation selects fields of complex data and relationships
365365
down to scalar values.
@@ -668,7 +668,7 @@ be present and `likers` will not. Conversely when the result is a `Page`,
668668
InlineFragment : ... TypeCondition? Directives? SelectionSet
669669

670670
Fragments can be defined inline within a selection set. This is done to
671-
conditionally include fields based on their runtime type. This feature of
671+
conditionally include fields based on parent object's runtime type. This feature of
672672
standard fragment inclusion was demonstrated in the `query FragmentTyping`
673673
example. We could accomplish the same thing using inline fragments.
674674

@@ -1171,8 +1171,8 @@ VariableDefinition : Variable : Type DefaultValue? Directives[Const]?
11711171

11721172
DefaultValue : = Value[Const]
11731173

1174-
A GraphQL operation can be parameterized with variables, maximizing reuse, and
1175-
avoiding costly string building in clients at runtime.
1174+
A GraphQL operation can be parameterized with variables
1175+
maximizing reuse of parsed queries by the GraphQL service.
11761176

11771177
If not defined as constant (for example, in {DefaultValue}), a {Variable} can be
11781178
supplied for an input value.

0 commit comments

Comments
 (0)