RFC 1 / Proposal

Editorial: Fix cases in validation where technically a crash could occur due to non-existent definitions

Opened on
Closed on

At a glance

Project
GraphQL Spec
Identifier
#1180
Stage
RFC 1 / Proposal
Champion
@JoviDeCroock
Updated
2026-02-24
Latest activity
Pull request closed on
Source

Pull request description

We have a few cases where in validation rules we rely on a different rule ensuring that the definition for usage exists.

  • Overlapping Fields, we use a Fragment Definition looked up by a SpreadName that potentially does not exist
  • VariablesOfCorrectType, we look up a VariableDefinition from a VariableName which could potentially not exist.

In GraphQL JS we already guard against this in a few places

Timeline

February 2026

November 2025

July 2025