You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `NextMessage.payload` (`FormattedExecutionResult`) is not useful here at all, the user has access to `ExecutionResult` that contains actual object references to error instances. The user can always convert and return `FormattedExecutionResult` by serialising the errors with `GraphQLError.toJSON()` method.
112
114
113
115
```diff
114
-
import { ExecutionResult, FormattedExecutionResult } from 'graphql';
116
+
import { ExecutionArgs, ExecutionResult, FormattedExecutionResult } from 'graphql';
115
117
import { ServerOptions, SubscribePayload } from 'graphql-ws';
0 commit comments