SqlMappingValidator

class Object
trait Matchable
class Any

Type members

Classlikes

case class InconsistentTypeMapping(owner: ObjectType, field: Field, sf: SqlField, lm: LeafMapping[_]) extends Failure

SqlField codec and LeafMapping are inconsistent.

SqlField codec and LeafMapping are inconsistent.

Source:
SqlMappingValidator.scala

Inherited classlikes

case class CannotValidateFieldMapping(owner: ObjectType, field: Field, fieldMapping: FieldMapping) extends Failure

Can't validate this kind of FieldMapping.

Can't validate this kind of FieldMapping.

Inherited from:
MappingValidator
Source:
mappingvalidator.scala
case class CannotValidateTypeMapping(typeMapping: TypeMapping) extends Failure

Can't validate this kind of FieldMapping.

Can't validate this kind of FieldMapping.

Inherited from:
MappingValidator
Source:
mappingvalidator.scala
case class InapplicableGraphQLType(typeMapping: TypeMapping, expected: String) extends Failure

GraphQL type isn't applicable for mapping type.

GraphQL type isn't applicable for mapping type.

Inherited from:
MappingValidator
Source:
mappingvalidator.scala
case class MissingFieldMapping(owner: ObjectMapping, field: Field) extends Failure

Object type owner declares field but no such mapping exists.

Object type owner declares field but no such mapping exists.

Inherited from:
MappingValidator
Source:
mappingvalidator.scala
case class MissingTypeMapping(tpe: Type) extends Failure

Missing type mapping.

Missing type mapping.

Inherited from:
MappingValidator
Source:
mappingvalidator.scala
case class ReferencedFieldDoesNotExist(objectMapping: ObjectMapping, fieldMapping: FieldMapping) extends Failure

Referenced field does not exist.

Referenced field does not exist.

Inherited from:
MappingValidator
Source:
mappingvalidator.scala
case class ReferencedTypeDoesNotExist(typeMapping: TypeMapping) extends Failure

Referenced type does not exist.

Referenced type does not exist.

Inherited from:
MappingValidator
Source:
mappingvalidator.scala

Value members

Inherited methods

def unsafeValidate(severity: Severity): Unit

Run this validator, raising a ValidationException if there are any failures of severity equal to or greater than the specified Severity.

Run this validator, raising a ValidationException if there are any failures of severity equal to or greater than the specified Severity.

Inherited from:
MappingValidator
Source:
mappingvalidator.scala
def validate[G[_]](severity: Severity)(implicit ev: ApplicativeError[G, Throwable]): G[Unit]

Run this validator, raising a ValidationException in G if there are any failures of severity equal to or greater than the specified Severity.

Run this validator, raising a ValidationException in G if there are any failures of severity equal to or greater than the specified Severity.

Inherited from:
MappingValidator
Source:
mappingvalidator.scala

Run this validator, yielding a chain of Failures of severity equal to or greater than the specified Severity.

Run this validator, yielding a chain of Failures of severity equal to or greater than the specified Severity.

Inherited from:
MappingValidator
Source:
mappingvalidator.scala

Abstract fields