Skip to content

Conversation

benjie
Copy link
Member

@benjie benjie commented Nov 21, 2024

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.

Copy link

netlify bot commented Nov 21, 2024

Deploy Preview for graphql-spec-draft ready!

Name Link
🔨 Latest commit d36099a
🔍 Latest deploy log https://app.netlify.com/sites/graphql-spec-draft/deploys/673f4998ecca960007eb6f25
😎 Deploy Preview https://deploy-preview-1126--graphql-spec-draft.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@benjie
Copy link
Member Author

benjie commented Nov 21, 2024

Closing in favour of #1127

@benjie benjie closed this Nov 21, 2024
@benjie benjie added the 🌱 Superseded (RFC X) RFC Stage X (See CONTRIBUTING.md) as it has been replaced by a newer proposal label Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💭 Strawman (RFC 0) RFC Stage 0 (See CONTRIBUTING.md) 🌱 Superseded (RFC X) RFC Stage X (See CONTRIBUTING.md) as it has been replaced by a newer proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant