enisdenjo / graphql-ws

Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.
https://the-guild.dev/graphql/ws
MIT License
1.75k stars 162 forks source link

Protocol: pre-execution errors with mutations / queries. #571

Closed nrbnlulu closed 4 months ago

nrbnlulu commented 4 months ago

The protocol states that Error message should be sent when

This can occur before execution starts, usually due to validation errors, or during the execution of the request.

Does it applies for mutation / queries as well? Because the protocol also states that

Server dispatches the result with the Next message