@@ -291,7 +291,8 @@ There are three types of operations that GraphQL models:
291291- subscription - a long-lived request that fetches data in response to source
292292 events.
293293
294- Each operation is represented by an optional operation name and a selection set.
294+ Each operation is represented by an optional operation name and a _ selection
295+ set_ .
295296
296297For example, this mutation operation might "like" a story and then retrieve the
297298new number of likes:
@@ -337,6 +338,9 @@ An operation selects the set of information it needs, and will receive exactly
337338that information and nothing more, avoiding over-fetching and under-fetching
338339data.
339340
341+ :: A _ selection set_ defines an ordered set of selections (fields, fragment
342+ spreads and inline fragments) against an object, union or interface type.
343+
340344``` graphql example
341345{
342346 id
@@ -346,14 +350,14 @@ data.
346350```
347351
348352In this query operation, the ` id ` , ` firstName ` , and ` lastName ` fields form a
349- selection set . Selection sets may also contain fragment references.
353+ _ selection set _ . Selection sets may also contain fragment references.
350354
351355## Fields
352356
353357Field : Alias? Name Arguments? Directives? SelectionSet?
354358
355- A selection set is primarily composed of fields. A field describes one discrete
356- piece of information available to request within a selection set.
359+ A _ selection set _ is primarily composed of fields. A field describes one
360+ discrete piece of information available to request within a selection set.
357361
358362Some fields describe complex data or relationships to other data. In order to
359363further explore this data, a field may itself contain a selection set, allowing
@@ -381,7 +385,7 @@ down to scalar values.
381385}
382386```
383387
384- Fields in the top-level selection set of an operation often represent some
388+ Fields in the top-level _ selection set _ of an operation often represent some
385389information that is globally accessible to your application and its current
386390viewer. Some typical examples of these top fields include references to a
387391current logged-in viewer, or accessing certain types of data referenced by a
@@ -667,9 +671,9 @@ be present and `likers` will not. Conversely when the result is a `Page`,
667671
668672InlineFragment : ... TypeCondition? Directives? SelectionSet
669673
670- Fragments can also be defined inline within a selection set . This is useful for
671- conditionally including fields based on a type condition or applying a directive
672- to a selection set.
674+ Fragments can also be defined inline within a _ selection set _ . This is useful
675+ for conditionally including fields based on a type condition or applying a
676+ directive to a selection set.
673677
674678This feature of standard fragment inclusion was demonstrated in the
675679` query FragmentTyping ` example above. We could accomplish the same thing using
@@ -1032,7 +1036,7 @@ BlockStringValue(rawValue):
10321036- Let {lines} be the result of splitting {rawValue} by {LineTerminator}.
10331037- Let {commonIndent} be {null}.
10341038- For each {line} in {lines}:
1035- - If {line} is the first item in {lines}, continue to the next line.
1039+ - If {line} is the first item in {lines}, continue to the next { line} .
10361040 - Let {length} be the number of characters in {line}.
10371041 - Let {indent} be the number of leading consecutive {WhiteSpace} characters in
10381042 {line}.
@@ -1117,10 +1121,10 @@ ListValue : [ ]
11171121ListValue : [ Value+ ]
11181122
11191123- Let {inputList} be a new empty list value.
1120- - For each {Value+}
1124+ - For each {Value+}:
11211125 - Let {value} be the result of evaluating {Value}.
11221126 - Append {value} to {inputList}.
1123- - Return {inputList}
1127+ - Return {inputList}.
11241128
11251129### Input Object Values
11261130
@@ -1164,11 +1168,11 @@ ObjectValue : { }
11641168ObjectValue : { ObjectField+ }
11651169
11661170- Let {inputObject} be a new input object value with no fields.
1167- - For each {field} in {ObjectField+}
1171+ - For each {field} in {ObjectField+}:
11681172 - Let {name} be {Name} in {field}.
11691173 - Let {value} be the result of evaluating {Value} in {field}.
11701174 - Add a field to {inputObject} of name {name} containing value {value}.
1171- - Return {inputObject}
1175+ - Return {inputObject}.
11721176
11731177## Variables
11741178
@@ -1247,22 +1251,22 @@ input type.
12471251
12481252Type : Name
12491253
1250- - Let {name} be the string value of {Name}
1251- - Let {type} be the type defined in the Schema named {name}
1252- - {type} must not be {null}
1253- - Return {type}
1254+ - Let {name} be the string value of {Name}.
1255+ - Let {type} be the type defined in the Schema named {name}.
1256+ - {type} must not be {null}.
1257+ - Return {type}.
12541258
12551259Type : [ Type ]
12561260
1257- - Let {itemType} be the result of evaluating {Type}
1261+ - Let {itemType} be the result of evaluating {Type}.
12581262- Let {type} be a List type where {itemType} is the contained type.
1259- - Return {type}
1263+ - Return {type}.
12601264
12611265Type : Type !
12621266
1263- - Let {nullableType} be the result of evaluating {Type}
1267+ - Let {nullableType} be the result of evaluating {Type}.
12641268- Let {type} be a Non-Null type where {nullableType} is the contained type.
1265- - Return {type}
1269+ - Return {type}.
12661270
12671271## Directives
12681272
0 commit comments