OverlappingFieldsCanBeMerged

sangria.validation.rules.OverlappingFieldsCanBeMerged

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
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

Attributes

Inherited from:
ValidationRule
Supertypes
class Object
trait Matchable
class Any

Inherited types

Value members

Concrete methods

Attributes

Definition Classes