graphql-php/tests/Executor
Daniel Tschinder 4e26de3588 Support for union types when using buildSchema
* Adds support for resolving union/interface types when using a generated schema
* Move resolveType __typename checking into defaultResolveType
* Clean up existing tests and improve error messages

ref: graphql/graphql-js#947

# Conflicts:
#	src/Utils/BuildSchema.php
#	tests/Utils/BuildSchemaTest.php
2018-02-10 18:45:01 +01:00
..
Promise Leverage PHPUnit setExpectedException() instead of custom code 2018-01-01 18:06:08 +09:00
AbstractPromiseTest.php Support for union types when using buildSchema 2018-02-10 18:45:01 +01:00
AbstractTest.php Added link to docs for generic error about unique type instance (#149) 2017-08-20 22:28:17 +07:00
DeferredFieldsTest.php Moved GraphQL\Utils to GraphQL\Utils\Utils 2017-07-10 19:53:46 +07:00
DirectivesTest.php Several executor tests 2016-10-18 20:30:15 +07:00
ExecutionResultTest.php Spec compliance improvement: data key should not exist in response when it is null / missing (#56) 2016-10-18 22:25:39 +07:00
ExecutorLazySchemaTest.php Added link to docs for generic error about unique type instance (#149) 2017-08-20 22:28:17 +07:00
ExecutorSchemaTest.php Deprecated GraphQL\Type\Definition\Config (#148) 2017-08-14 00:09:02 +07:00
ExecutorTest.php Update query variable coercion to meet the rules outlined in the 2017-09-18 12:14:09 -04:00
LazyInterfaceTest.php Schema validation + tests (#148) 2017-08-13 23:04:03 +07:00
ListsTest.php Default error formatter now returns "Internal server error" unless error is client-aware and safe to report directly to end-users 2017-07-18 20:57:30 +07:00
MutationsTest.php Default error formatter now returns "Internal server error" unless error is client-aware and safe to report directly to end-users 2017-07-18 20:57:30 +07:00
NonNullTest.php Default error formatter now returns "Internal server error" unless error is client-aware and safe to report directly to end-users 2017-07-18 20:57:30 +07:00
ResolveTest.php Reverted #116 (now Executor::defaultFieldResolver checks for instanceof Closure vs is_callable again) 2017-07-08 15:22:17 +07:00
TestClasses.php Replaced "AST" with "Node" in variable names for better readability 2016-11-19 06:47:55 +07:00
UnionInterfaceTest.php Support for union types when using buildSchema 2018-02-10 18:45:01 +01:00
ValuesTest.php Fixed type in tests: Testcase -> TestCase 2017-09-20 17:03:22 +07:00
VariablesTest.php Additional tests for variable coercion + use printSafeJson vs printSafe for input variables 2017-09-20 18:40:45 +07:00