graphql-php/tests/Server
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: graphql/graphql-js#1133
2018-02-13 16:51:44 +01:00
..
Psr7 Server: additional tests + related fixes 2017-08-15 20:59:48 +07:00
PsrResponseTest.php Server: additional tests + related fixes 2017-08-15 20:59:48 +07:00
QueryExecutionTest.php Preserve original coercion errors, improve error quality. 2018-02-13 16:51:44 +01:00
RequestParsingTest.php Fixed PSR request parsing, broken after recent changes 2018-01-13 18:08:07 +07:00
RequestValidationTest.php Preserve original coercion errors, improve error quality. 2018-02-13 16:51:44 +01:00
ServerConfigTest.php Server: minor improvements 2017-08-18 02:54:35 +07:00
StandardServerTest.php Drop support non pre-parsed PSR-7 request body 2017-12-21 15:01:57 +09:00
TestCase.php Server: fixed constructor screwed during rebasing + restored tests for the server 2017-08-21 01:18:23 +07:00