ConnectionInit in GraphQLTransportWS returns faulty message upon error
SvenW opened this issue · comments
Sven Widén commented
If the beforeInit Webhook returns an error it seems that the protocol is broken since the connection_init message doesn't contain an id. In order for it to work correctly it would need to set the id field as well as per the spec.
interface ErrorMessage {
id: '<unique-operation-id>';
type: 'error';
payload: GraphQLError[];
}