graphql-php/tests/Type
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
..
ConfigTest.php Improved docblock comments (suitable for reference docs generation) 2017-08-19 23:01:46 +07:00
DefinitionTest.php Support for union types when using buildSchema 2018-02-10 18:45:01 +01:00
EnumTypeTest.php Preserve original coercion errors, improve error quality. 2018-02-13 16:51:44 +01:00
IntrospectionTest.php Improve introspection types + new getIntrospectionQuery() 2018-02-11 18:19:52 +01:00
ObjectIdStub.php indentation 2017-12-12 13:36:20 +01:00
ResolutionTest.php Leverage PHPUnit setExpectedException() instead of custom code 2018-01-01 18:06:08 +09:00
ResolveInfoTest.php pass failing test 2017-03-16 15:41:29 +00:00
ScalarSerializationTest.php Preserve original coercion errors, improve error quality. 2018-02-13 16:51:44 +01:00
TestClasses.php Introduced type resolution strategies: eager and lazy (for #69) 2016-12-14 17:12:09 +07:00
TypeLoaderTest.php Preserve original coercion errors, improve error quality. 2018-02-13 16:51:44 +01:00
ValidationTest.php Preserve original coercion errors, improve error quality. 2018-02-13 16:51:44 +01:00