graphql-php/tests/Utils
Daniel Tschinder 58e0c7a178 Validate literals in a single rule with finer precision
This generalizes the "arguments of correct type" and "default values of correct type" to a single rule "values of correct type" which has been re-written to rely on a traversal rather than the utility function `isValidLiteralValue`. To reduce breaking scope, this does not remove that utility even though it's no longer used directly within the library. Since the default values rule included another validation rule that rule was renamed to a more apt "variable default value allowed".

This also includes the original errors from custom scalars in the validation error output, solving the remainder of graphql/graphql-js#821.

ref: graphql/graphql-js#1144
2018-02-15 21:29:14 +01:00
..
AssertValidNameTest.php Move schema validation into separate step (type constructors) 2018-02-15 12:14:08 +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
IsValidLiteralValueTest.php Validate literals in a single rule with finer precision 2018-02-15 21:29:14 +01:00
MixedStoreTest.php Moved GraphQL\Utils to GraphQL\Utils\Utils 2017-07-10 19:53:46 +07:00
QuotedOrListTest.php Update some validators to latest upstream version 2018-02-15 17:19:53 +01:00
SchemaPrinterTest.php Include test that printSchema includes non-spec directives. 2018-02-11 21:32:40 +01:00
SuggestionListTest.php Update some validators to latest upstream version 2018-02-15 17:19:53 +01:00
ValueFromAstTest.php Moved GraphQL\Utils to GraphQL\Utils\Utils 2017-07-10 19:53:46 +07:00