graphql-js
45e28a5b - fix(validation): catch OverlappingFieldsCanBeMergedRule violations with nested fragments (#4168)

Commit
1 year ago
fix(validation): catch OverlappingFieldsCanBeMergedRule violations with nested fragments (#4168) In trying to prevent infinite loops, https://github.com/graphql/graphql-js/pull/3442 introduced a bug that causes certain violations of the [Field Selection Merging](https://spec.graphql.org/draft/#sec-Field-Selection-Merging) validation to not be caught (released in `16.3.0`, and backported to `15.9.0`). This PR fixes this bug, while continuing to prevent infinite loops.
Author
Parents
Loading