trait MappingValidator extends AnyRef
- Alphabetic
- By Inheritance
- MappingValidator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class CannotValidateFieldMapping(owner: ObjectType, field: Field, fieldMapping: M.FieldMapping) extends Failure with Product with Serializable
Can't validate this kind of
FieldMapping
. - case class CannotValidateTypeMapping(typeMapping: M.TypeMapping) extends Failure with Product with Serializable
Can't validate this kind of
FieldMapping
. - abstract type F[_]
- case class InapplicableGraphQLType(typeMapping: M.TypeMapping, expected: String) extends Failure with Product with Serializable
GraphQL type isn't applicable for mapping type.
- abstract type M <: Mapping[F]
- case class MissingFieldMapping(owner: M.ObjectMapping, field: Field) extends Failure with Product with Serializable
Object type
owner
declaresfield
but no such mapping exists. - case class MissingTypeMapping(tpe: Type) extends Failure with Product with Serializable
Missing type mapping.
- case class ReferencedFieldDoesNotExist(objectMapping: M.ObjectMapping, fieldMapping: M.FieldMapping) extends Failure with Product with Serializable
Referenced field does not exist.
- case class ReferencedTypeDoesNotExist(typeMapping: M.TypeMapping) extends Failure with Product with Serializable
Referenced type does not exist.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def interfaces(t: Type): List[InterfaceType]
All interfaces for
t
, transtiviely, includingt
if it is an interface.All interfaces for
t
, transtiviely, includingt
if it is an interface.- Attributes
- protected
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def missingTypeMappings: Chain[Failure]
- Attributes
- protected
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def transitiveInterfaceFieldMappings(tpe: Type): List[M.FieldMapping]
Mappings for all fields defined transitively for interfaces of
tpe
, includingtpe
if it is an interface.Mappings for all fields defined transitively for interfaces of
tpe
, includingtpe
if it is an interface.- Attributes
- protected
- def unsafeValidate(severity: Severity = Severity.Warning): Unit
Run this validator, raising a
ValidationException
if there are any failures of severity equal to or greater than the specifiedSeverity
. - def validate[G[_]](severity: Severity = Severity.Warning)(implicit ev: ApplicativeError[G, Throwable]): G[Unit]
Run this validator, raising a
ValidationException
inG
if there are any failures of severity equal to or greater than the specifiedSeverity
. - def validateFieldMapping(owner: ObjectType, field: Field, fieldMapping: M.FieldMapping): Chain[Failure]
- Attributes
- protected
- def validateLeafMapping(lm: M.LeafMapping[_]): Chain[Failure]
- Attributes
- protected
- def validateMapping(severity: Severity = Severity.Warning): List[Failure]
Run this validator, yielding a chain of
Failure
s of severity equal to or greater than the specifiedSeverity
. - def validateObjectFieldMappings(m: M.ObjectMapping, tpe: ObjectType): Chain[Failure]
- Attributes
- protected
- def validateObjectMapping(m: M.ObjectMapping): Chain[Failure]
- Attributes
- protected
- def validateTypeMapping(tm: M.TypeMapping): Chain[Failure]
- Attributes
- protected
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated