sangria.validation

Members list

Packages

Type members

Classlikes

case class AnonOperationNotAloneViolation(sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
Show all

Attributes

Supertypes
trait Violation
class Object
trait Matchable
class Any
Known subtypes
Show all
case class BadValueForDefaultArgViolation(varName: String, typeName: String, value: String, violation: Violation, ownSourceMapper: Option[SourceMapper], ownLocations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class BadValueViolation(typeName: String, value: String, violation: Option[Violation], ownSourceMapper: Option[SourceMapper], ownLocations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class BadVarPositionViolation(varName: String, varType: String, expectedType: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
abstract class BaseViolation(val errorMessage: String) extends Violation

Attributes

Supertypes
trait Violation
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
Self type
case class CircularImplementViolation(typeName: String, interfaceName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class ConflictingInputObjectTypeCaseClassViolation(typeName: String, parentInfo: String) extends Violation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class ConflictingObjectTypeCaseClassViolation(typeName: String, parentInfo: String) extends Violation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class ConflictingTypeDefinitionViolation(typeName: String, conflictingTypes: List[String], parentInfo: String) extends Violation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class CycleErrorViolation(fragmentName: String, spreadNames: List[String], sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class DefaultForNonNullArgViolation(varName: String, typeName: String, guessTypeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class DocumentAnalyzer(document: Document)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class DuplicateArgNameViolation(argName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class DuplicateDirectiveViolation(directiveName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class DuplicateFragmentNameViolation(fragName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class DuplicateInputFieldViolation(name: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class DuplicateOperationNameViolation(opName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class DuplicateVariableViolation(variableName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class EmptyEnumValuesMembersViolation(typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class EmptyFieldsViolation(kind: String, typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class EmptyInputFieldsViolation(typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class EmptyUnionMembersViolation(typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
Self type
case class EnumValueCoercionViolation(name: String, typeName: String, knownValues: Seq[String]) extends ValueCoercionViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class ExistingTypeViolation(typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class FieldCoercionViolation(fieldPath: List[String], valueViolation: Violation, ownSourceMapper: Option[SourceMapper], ownLocations: List[AstLocation], errorPrefix: String, isArgument: Boolean) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class FieldsConflictViolation(outputName: String, reason: Either[String, Vector[ConflictReason]], sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
Self type
case class FragmentOnNonCompositeErrorViolation(fragName: String, typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation, SpecViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class GenericInvalidValueViolation(sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
Self type
case class ImplementationExtraFieldArgumentNotOptionalViolation(interfaceName: String, objectName: String, fieldName: String, argumentName: String, objectFieldType: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InputObjectIsOfWrongTypeMissingViolation(typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InputObjectTypeMismatchViolation(fieldPath: List[String], typeName: String, value: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InputObjectTypeRecursion(name: String, fieldName: String, path: List[String], sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
Self type
case class InvalidDirectiveArgumentNameViolation(dirName: String, argName: String, explanation: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InvalidDirectiveNameViolation(dirName: String, explanation: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InvalidEnumValueNameViolation(typeName: String, valueName: String, explanation: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InvalidFieldArgumentNameViolation(typeName: String, fieldName: String, argName: String, explanation: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InvalidFieldNameViolation(typeName: String, fieldName: String, explanation: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InvalidImplementationFieldArgumentTypeViolation(interfaceName: String, objectName: String, fieldName: String, argumentName: String, interfaceFieldType: String, objectFieldType: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InvalidImplementationFieldTypeViolation(interfaceName: String, objectName: String, fieldName: String, interfaceFieldType: String, objectFieldType: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InvalidInputDocumentViolation(typeName: String, value: String, violation: Violation, ownSourceMapper: Option[SourceMapper], ownLocations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InvalidInputFieldNameViolation(typeName: String, fieldName: String, explanation: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InvalidInputValueViolation(argumentName: String, errorText: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InvalidSubscriptionFieldViolation(typeName: String, fieldName: String) extends Violation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InvalidTypeNameViolation(kind: String, typeName: String, explanation: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class InvalidTypeUsageViolation(expectedTypeKind: String, tpe: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class ListValueViolation(index: Int, violation: Violation, listSourceMapper: Option[SourceMapper], listPosition: List[AstLocation]) extends AstNodeViolation, PathBasedViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
Self type
case class MapValueViolation(fieldName: String, violation: Violation, mapSourceMapper: Option[SourceMapper], mapPosition: List[AstLocation]) extends AstNodeViolation, PathBasedViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class MisplacedDirectiveViolation(name: String, correctPlacement: Option[(Value, String)], sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation, SpecViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class MissingFieldArgViolation(fieldName: String, argName: String, typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class MissingImplementationFieldArgumentViolation(interfaceName: String, objectName: String, fieldName: String, argumentName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NoInterfaceImplementationViolation(interfaceName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NoQueryTypeViolation(sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NoSubselectionAllowedViolation(fieldName: String, typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation, SpecViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NonExecutableDefinitionViolation(definitionName: String, definition: Definition, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation, SpecViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NonInputTypeOnVarViolation(varName: String, typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NonUniqueDirectiveArgumentsViolation(dirName: String, argName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NonUniqueDirectiveDefinitionViolation(name: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NonUniqueEnumValuesViolation(typeName: String, valueName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NonUniqueFieldArgumentsViolation(typeName: String, fieldName: String, argName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NonUniqueFieldsViolation(kind: String, typeName: String, fieldName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NonUniqueInputFieldsViolation(typeName: String, fieldName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NonUniqueInterfacesViolation(typeName: String, interfaceName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NonUniqueRootTypeViolation(operationType: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NonUniqueTypeDefinitionViolation(typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NonUniqueUnionMembersViolation(typeName: String, memberName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NotAllSubscriptionFieldsHaveSameStreamViolation(typeName: String, fieldNames: Vector[String]) extends Violation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NotAllSubscriptionFieldsViolation(typeName: String, fieldNames: Vector[String]) extends Violation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NotNullInputObjectFieldMissingViolation(typeName: String, fieldName: String, fieldType: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation, PathBasedViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NotNullValueIsNullViolation(sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class NullValueForNotNullTypeViolation(fieldPath: List[String], typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class RequiredFieldViolation(typeName: String, fieldName: String, fieldType: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class RequiredSubselectionViolation(fieldName: String, typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation, SpecViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class ReservedEnumValueNameViolation(typeName: String, valueName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class ReservedNameViolation(typeName: String, name: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class ReservedTypeNameViolation(typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
case class SchemaBasedDocumentAnalyzer(schema: Schema[_, _], document: Document)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
Self type
case class SubscriptionSingleFieldOnlyViolation(opName: Option[String], sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class TypeExtensionOnNonExistingTypeViolation(typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class TypeExtensionOnWrongKindViolation(typeKind: String, typeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class TypeIncompatibleAnonSpreadViolation(parentTypeName: String, fragTypeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class TypeIncompatibleSpreadViolation(fragName: String, parentTypeName: String, fragTypeName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
class TypeInfo(schema: Schema[_, _], initialType: Option[Type])

Attributes

Supertypes
class Object
trait Matchable
class Any
case class UndefinedFieldViolation(fieldName: String, typeName: String, suggestedTypeNames: Seq[String], suggestedFieldNames: Seq[String], sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation, SpecViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class UndefinedVarByOpViolation(varName: String, operationName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class UndefinedVarViolation(varName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class UnknownArgViolation(argName: String, fieldName: String, typeName: String, suggestedArgs: Seq[String], sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation, SpecViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class UnknownDirectiveArgViolation(argName: String, dirName: String, suggestedArgs: Seq[String], sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation, SpecViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class UnknownDirectiveViolation(name: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation, SpecViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class UnknownFieldViolation(typeName: String, fieldName: String, message: Option[String], sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class UnknownFragmentViolation(name: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class UnknownInputObjectFieldViolation(typeName: String, fieldName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation, PathBasedViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class UnknownTypeViolation(name: String, suggestedTypes: Seq[String], sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class UnknownVariableTypeViolation(definitionName: String, varType: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class UnusedFragmentViolation(name: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class UnusedVariableViolation(name: String, operationName: Option[String], sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
class ValidationContext(val schema: Schema[_, _], val doc: Document, val sourceMapper: Option[SourceMapper], val typeInfo: TypeInfo, errorsLimit: Option[Int])

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ValidatorStack[T]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class ValueCoercionViolation(errorMessage: String) extends BaseViolation

Attributes

Supertypes
trait Violation
class Object
trait Matchable
class Any
Known subtypes
case class VarTypeMismatchViolation(definitionName: String, expectedType: String, input: Option[String], violation: Violation, ownSourceMapper: Option[SourceMapper], ownLocations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class VariableInferenceViolation(variableName: String, type1: String, type2: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class VariableNotAllowedViolation(varName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
trait Violation

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object EnumCoercionViolation.type
object IDCoercionViolation.type
object IntCoercionViolation.type
object LongCoercionViolation.type
Show all
object Violation

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Violation.type