thecodingmachine / graphqlite

Use PHP Attributes/Annotations to declare your GraphQL API
https://graphqlite.thecodingmachine.io
MIT License
555 stars 95 forks source link

Fix name of imported type from webonyx for formatter #619

Closed andrew-demb closed 11 months ago

andrew-demb commented 11 months ago

SerializableError was a representation of one error, but the formatter returns an array of errors

https://github.com/webonyx/graphql-php/blob/29b5b613bd3ee34f227650f856ee8dd4ce151b88/src/Executor/ExecutionResult.php#L17-L23

andrew-demb commented 11 months ago

Sorry, my suggestion was wrong. Formatter deals with single error.