Skip to content

Commit 1fe9b61

Browse files
MarkoMinbenjie
andauthored
fix: field selection set final values (#1212)
* fix: field selection set final values * Update spec/Section 2 -- Language.md Co-authored-by: Benjie <benjie@jemjie.com> * feat: field subselection definition * fix: md format --------- Co-authored-by: Benjie <benjie@jemjie.com>
1 parent 3c6695c commit 1fe9b61

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

spec/Section 2 -- Language.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,7 @@ discrete piece of information available to request within a selection set.
419419
Some fields describe complex data or relationships to other data. In order to
420420
further explore this data, a field may itself contain a selection set, allowing
421421
for deeply nested requests. All GraphQL operations must specify their selections
422-
down to fields which return scalar values to ensure an unambiguously shaped
423-
response.
422+
down to _leaf fields_ to ensure an unambiguously shaped response.
424423

425424
For example, this operation selects fields of complex data and relationships
426425
down to scalar values.

spec/Section 5 -- Validation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -726,8 +726,8 @@ fragment conflictingDifferingResponses on Pet {
726726

727727
**Explanatory Text**
728728

729-
A field subselection is not allowed on leaf fields. A leaf field is any field
730-
with a scalar or enum unwrapped type.
729+
:: A field subselection is not allowed on leaf fields. A _leaf field_ is any
730+
field with a scalar or enum unwrapped type.
731731

732732
The following is valid.
733733

0 commit comments

Comments
 (0)