RFC 0 / Strawman

allow empty selections

Opened on
Closed on

At a glance

Project
GraphQL Spec
Identifier
#674
Stage
RFC 0 / Strawman
Champion
@kassens
Updated
2026-09-17
Latest activity
Pull request closed on
Source

Pull request description

Sometimes, product code might only be interested in the existence of an object. Currently, this forces a workaround of either querying __typename or adding a bool field like has_thing.

It seems natural and not too confusing to allow empty selections:

query {
  event {
    location {}
  }
}

The response should either return null or an empty object for location.

(The spec changes are incomplete.)

Timeline

September 2026

January 2020