graphql-php/tests/Utils
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
..
AstFromValueTest.php Leverage PHPUnit setExpectedException() instead of custom code 2018-01-01 18:06:08 +09:00
AstFromValueUntypedTest.php Fix parsing of default values in build-schema 2018-02-10 18:45:23 +01:00
BuildSchemaTest.php Validate schema root types and directives 2018-02-13 10:42:35 +01:00
CoerceValueTest.php Preserve original coercion errors, improve error quality. 2018-02-13 16:51:44 +01:00
ExtractTypesTest.php Deprecated GraphQL\Type\Definition\Config (#148) 2017-08-14 00:09:02 +07:00
FindBreakingChangesTest.php Add warnings for nullable changes 2018-02-10 18:45:18 +01:00
MixedStoreTest.php Moved GraphQL\Utils to GraphQL\Utils\Utils 2017-07-10 19:53:46 +07:00
SchemaPrinterTest.php Include test that printSchema includes non-spec directives. 2018-02-11 21:32:40 +01:00
ValueFromAstTest.php Moved GraphQL\Utils to GraphQL\Utils\Utils 2017-07-10 19:53:46 +07:00