mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-25 06:16:05 +03:00
6e358eb26c
`OverlappingFieldsCanBeMerged` would infinite loop when passed something like ```graphql fragment A on User { name ...A } ``` It's not `OverlappingFieldsCanBeMerged`'s responsibility to detect that validation error, but we still would ideally avoid infinite looping. This detects that case, and pretends that the infinite spread wasn't there for the purposes of this validation step. Also, by memoizing and checking for self-references this removes duplicate reports. ref: graphql/graphql-js#1111 |
||
---|---|---|
.. | ||
Executor | ||
Language | ||
Server | ||
Type | ||
Utils | ||
Validator | ||
ErrorTest.php | ||
ServerTest.php | ||
StarWarsData.php | ||
StarWarsIntrospectionTest.php | ||
StarWarsQueryTest.php | ||
StarWarsSchema.php | ||
StarWarsValidationTest.php | ||
UtilsTest.php |