graphql-php/tests
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
..
Error Fix printError/locations for multiple nodes. 2018-02-13 10:42:51 +01:00
Executor Preserve original coercion errors, improve error quality. 2018-02-13 16:51:44 +01:00
Language New: printError() 2018-02-12 12:23:39 +01:00
Server Preserve original coercion errors, improve error quality. 2018-02-13 16:51:44 +01:00
Type Preserve original coercion errors, improve error quality. 2018-02-13 16:51:44 +01:00
Utils Preserve original coercion errors, improve error quality. 2018-02-13 16:51:44 +01:00
Validator Fix unhandled error when parsing custom scalar literals. 2018-02-11 22:31:04 +01:00
ServerTest.php Validate schema root types and directives 2018-02-13 10:42:35 +01:00
StarWarsData.php Updated StarWars tests 2016-10-23 00:46:15 +07:00
StarWarsIntrospectionTest.php Ability to override internal types (using types option of Schema class) #174 2017-09-22 23:08:51 +07:00
StarWarsQueryTest.php Updated executor and it's tests for april2016 specs 2016-09-14 18:47:34 +07:00
StarWarsSchema.php Minor fix to StarWarsSchema type language in comments 2016-11-18 20:32:09 +07:00
StarWarsValidationTest.php Updated executor and it's tests for april2016 specs 2016-09-14 18:47:34 +07:00
UtilsTest.php Leverage PHPUnit setExpectedException() instead of custom code 2018-01-01 18:06:08 +09:00