ResolvedDirectiveValidationRule

sangria.schema.ResolvedDirectiveValidationRule
class ResolvedDirectiveValidationRule(knownUniqueDirectives: Set[String]) extends SchemaValidationRule

Validates uniqueness of directives on types and the schema definition.

It is not fully covered by UniqueDirectivesPerLocation since it onl looks at one AST node at a time, so it does not cover type + type extension scenario.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def validate[Ctx, Val](schema: Schema[Ctx, Val]): List[Violation]