package validation
Type Members
- sealed trait Issue extends AnyRef
An issue indicates that a thrift object does not conform to the requirements defined in the thrift definition.
An issue indicates that a thrift object does not conform to the requirements defined in the thrift definition. These are returned by the validateNewInstance method in the thrift struct's companion object.
- case class MissingConstructionRequiredField(field: ThriftStructFieldInfo) extends Issue with Product with Serializable
When the Issue is returned by validateNewInstance a construction required field is missing from the object.
When the Issue is returned by validateNewInstance a construction required field is missing from the object.
- field
ThriftStructFieldInfo for the missing field
- case class MissingRequiredField(field: ThriftStructFieldInfo) extends Issue with Product with Serializable
When the Issue is returned by validateNewInstance a required field is missing from the object.
When the Issue is returned by validateNewInstance a required field is missing from the object.
- field
ThriftStructFieldInfo for the missing field