Closed andrew-demb closed 11 months ago
SerializableError was a representation of one error, but the formatter returns an array of errors
SerializableError
https://github.com/webonyx/graphql-php/blob/29b5b613bd3ee34f227650f856ee8dd4ce151b88/src/Executor/ExecutionResult.php#L17-L23
Sorry, my suggestion was wrong. Formatter deals with single error.
SerializableError
was a representation of one error, but the formatter returns an array of errorshttps://github.com/webonyx/graphql-php/blob/29b5b613bd3ee34f227650f856ee8dd4ce151b88/src/Executor/ExecutionResult.php#L17-L23