RFC 3 / Accepted

Fix "response position" definition; clarify sibling errors on propagation

Opened on
Merged on

At a glance

Project
GraphQL Spec
Identifier
#1183
Stage
RFC 3 / Accepted
Champion
@benjie
Updated
2026-09-17
Latest activity
Pull request merged on
Source

Pull request description

If a response position resolves to {null} because of an execution error which has already been added to the {"errors"} list in the execution result, the {"errors"} list must not be further affected. That is, only one error should be added to the errors list per response position.

The response position mentioned at the beginning of this paragraph is different to the response position from which the error originated; therefore "only one error should be added to the errors list per response position" is kind of moot. Actually what we mean here is that the response path of the error (i.e. the "path" entry in the error object) should be unique.

This edit clarifies that it's the "path" of the error that matters (and should be unique), not the position that re-raised it.

Timeline

September 2026

  • Pull request merged on by leebyron
  • Top comment edited on by benjie
  • Advanced to RFC 3 on by leebyron
  • Discussed in GraphQL WG

    The team discussed GitHub's attribution system for pull requests, particularly around squash commits and stack merges. Pascal explained that whoever merges a pull request gets the attribution, which Leebyron considered a potential bug. The conversation then shifted to GitHub's new stack diff feature, which Benjie confirmed is now stable and available, though Mark noted it's not yet available in GitHub Enterprise Cloud. Finally, Benjie presented a clarification to pull request 1183 regarding error handling, explaining that the wording was made clearer to specify that each field generating an error can only generate one error per response path.

    Zoom summary · GraphQL WG · 2026-09-17

    The team discussed a constraint regarding error handling in GraphQL, specifically that only one error should be added to the error list per response position. Leebyron and Benjie clarified that this restriction helps prevent issues with client behavior that might incorrectly display or handle multiple errors. The group agreed to maintain this constraint as it provides simplicity and avoids potential complications with error aggregation. They also reviewed a related change (pull request 1184) that addresses how errors should not be added to the list after an error has propagated, though this is stated as a "should" rather than a mandatory requirement.

    Zoom summary · GraphQL WG · 2026-09-17
  • 2 commits pushed on

July 2025

  • Advanced to RFC 0 on by leebyron
  • Discussed in GraphQL WG

    The GraphQL Working Group meeting covered several key topics, including editorial changes to error propagation, fragment memoization, and service capabilities syntax. Discussions focused on improving schema coordinates, refining error handling mechanisms, and implementing a new system for representing service capabilities. The team debated various approaches to these issues, considering factors such as implementation complexity, backward compatibility, and potential future extensions.

    Zoom summary · GraphQL WG · 2025-07-17
    Next Steps

    Benjie: Break out the editorial changes for response position definition in the spec as a separate pull request

    Zoom summary · GraphQL WG · 2025-07-17

    The GraphQL Working Group meeting began with a round of introductions and a technical check of microphones and audio. Lee Byron announced the agenda, which included editorial changes on error propagation, removing fragment spread names from visited fragments, service capabilities syntax, and schema coordinates. The group agreed to prioritize schema coordinates due to their tight scope. Mark and Martin were set to lead discussions on their respective topics, but the transcript ended before they could begin.

    Zoom summary · GraphQL WG · 2025-07-17

    Response Position Naming Debate

    Benjie proposed renaming "response position" to "execution position" to better describe a position that can be reached during execution, even if it doesn't exist in the final response due to error propagation. Leebyron expressed concerns about the change, arguing that the term "response position" more accurately reflects the intent of the position in terms of response keys and paths. They agreed that an editorial clarification of the definition is necessary, emphasizing that the position might not be in the final response due to error propagation. Benjie decided to revert the name change and focus on refining the definition further.

    Zoom summary · GraphQL WG · 2025-07-17
  • Top comment edited on by benjie
  • Pull request created on by benjie
  • 2 commits pushed on