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
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
- Pull request closed on
January 2020
- Advanced to RFC 0 on by IvanGoncharov
- Pull request created on by kassens
- @kassens committed "[RFC] allow empty selections" on