Hi, I've found a gap in support for the legacy graphql-ws protocol. The spec indicates that for error messages the payload should be a single "Error" object, but currently Mercurius only adheres to the graphql-transport-ws protocol error format by always returning an array of GraphQL errors.
I realize that the graphql-ws protocol is considered deprecated, but given the docs state both are supported I think this is worth addressing. Thanks!
Hi, I've found a gap in support for the legacy graphql-ws protocol. The spec indicates that for error messages the payload should be a single "Error" object, but currently Mercurius only adheres to the graphql-transport-ws protocol error format by always returning an array of GraphQL errors.
I realize that the graphql-ws protocol is considered deprecated, but given the docs state both are supported I think this is worth addressing. Thanks!