1
0
mirror of https://github.com/retailcrm/graphql-php.git synced 2025-03-21 07:23:48 +03:00
Daniel Tschinder 60df83f47e Preserve original coercion errors, improve error quality.
This is a fairly major refactoring of coerceValue which returns an Either so it can return a complete collection of errors. This allows originalError to be preserved for scalar coercion errors and ensures *all* errors are represented in the response.

This had a minor change to the logic in execute / subscribe to allow for buildExecutionContext to abrupt complete with multiple errors.

ref: 
2018-02-13 16:51:44 +01:00
..