OverlappingFieldsCanBeMerged
sangria.validation.rules.OverlappingFieldsCanBeMerged
class OverlappingFieldsCanBeMerged extends ValidationRule
Overlapping fields can be merged
A selection set is only valid if all fields (including spreading any fragments) either correspond to distinct response names or can be merged without ambiguity.
The algorithm is described in CachedCheck.
The validation rule implements the same validation as OverlappingFieldsCanBeMerged and could eventually replace it. It is an alternative, more performant implementation.
Attributes
- Graph
-
- Supertypes
Members list
In this article