Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spec/Section 2 -- Language.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,8 @@ discrete piece of information available to request within a selection set.
Some fields describe complex data or relationships to other data. In order to
further explore this data, a field may itself contain a selection set, allowing
for deeply nested requests. All GraphQL operations must specify their selections
down to fields which return scalar values to ensure an unambiguously shaped
response.
down to fields which return scalar or enum values to ensure an unambiguously
shaped response.
Comment on lines +422 to +423
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
down to fields which return scalar or enum values to ensure an unambiguously
shaped response.
down to _leaf fields_ to ensure an unambiguously shaped response.

Paired with this, it would be good to change this to a definition:

A field subselection is not allowed on leaf fields. A leaf field is any field
with a scalar or enum unwrapped type.

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


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