At a glance
- Project
- GraphQL Spec
- Identifier
- #1126
- Stage
- RFC X / Superseded
- Champion
- @benjie
- Updated
- 2025-06-12
- Latest activity
- Marked as Superseded on
- Source
- Pull request
Pull request description
Currently if sourceStream generates an error, then responseStream repeats the error. This is the behavior implemented in graphql-js and is problematic.
GraphQL captures execution errors and wraps them in an { errors: [...] } payload for query and mutation operations; it should do the same for stream errors in a subscription operation.
This PR makes this behavior explicit.
Timeline
June 2025
- Marked as Superseded on by benjie
November 2024
- Pull request closed on
- Pull request created on by benjie
- @benjie committed "Handle errors raised by sourceStream" on
- Advanced to RFC 0 on by benjie