A websocket connection can be used to perform queries as well as subscription. With subsciption schemas, a validation error results in a error
message before the subscription commences. For query schemas, the same validation error results in a "next" message containing "errors" in its
ExecutionResult
member.
This kind of different error handling is inconvenient. In the case of queries, it makes it harder to distinguish between a validation error and an error resulting from the query execution.
I have created PR #3671 to illustrate the problem. It contains behavioural tests taken from a separate PR validation graphql-transport-ws
based behaviour.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too