class
OverlappingFieldsCanBeMerged extends ValidationRule
Instance Constructors
-
new
OverlappingFieldsCanBeMerged()
Type Members
-
-
type
CollectedFields = ListMap[String, ListBuffer[(Field, Option[Field[_, _]])]]
-
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
collectFieldASTsAndDefs(ctx: ValidationContext, parentType: Option[Type], selCont: SelectionContainer, visitedFragmentNames: Set[String] = MutableSet(), astAndDefs: CollectedFields = MutableMap()): CollectedFields
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
sameArguments(args1: List[Argument], args2: List[Argument]): Boolean
-
def
sameDirectives(directives1: List[Directive], directives2: List[Directive]): Boolean
-
def
sameType(type1: String, type2: String): Boolean
-
def
sameValue(v1: Value, v2: Value): Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
visitor(ctx: ValidationContext): AstValidatingVisitor { val onLeave: OverlappingFieldsCanBeMerged.this.ValidationVisit }
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
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.