sangria.validation.rules.overlappingfields
Members list
Type members
Classlikes
Implements the algorithm for validating "Field Selection Merging" as described in: https://tech.xing.com/graphql-overlapping-fields-can-be-merged-fast-ea6e92e0a01
Implements the algorithm for validating "Field Selection Merging" as described in: https://tech.xing.com/graphql-overlapping-fields-can-be-merged-fast-ea6e92e0a01
Should have the same effect as the algorithm in the GraphQL Specification: https://graphql.github.io/graphql-spec/draft/#sec-Field-Selection-Merging
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
A hashable representation of field name and arguments, used to check uniqueness of them in a set of fields
A hashable representation of field name and arguments, used to check uniqueness of them in a set of fields
Two fields also have the same name and arguments when the order of arguments differs.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
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.
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
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AstNodeViolationtrait AstNodeLocationtrait Violationclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SelectionContainer.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SelectionField.type
A set representation that is well suited to hash and equality comparisons and fast iteration over members
A set representation that is well suited to hash and equality comparisons and fast iteration over members
Attributes
- Companion
- object
- Supertypes
-
trait Iterable[T]class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SortedArraySet.type
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TypeAbstractness.type