SelectionBuilder

sangria.validation.rules.overlappingfields.SelectionBuilder

For the validation we need another representation of the query that already contains the effective selection sets for each field and certain properties of the fields. As we don't want to adapt the sangria representation, we build our own here during traversal of the query.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def build(): ArrayList[SelectionContainer]

Attributes

Returns

A list of roots of the document

def enterField(parentType: Option[CompositeType[_]], astField: Field, outputType: Option[OutputType[_]]): Unit
def spreadFragment(name: String): Unit