ValidationResult

data class ValidationResult(val valid: Boolean, val errors: List<ValidationError>)

Container holding the outcome of a validation operation performed by a ValixValidator.

Constructors

Link copied to clipboard
constructor(valid: Boolean, errors: List<ValidationError>)

Properties

Link copied to clipboard

List of ValidationError instances detailing any detected constraint violations.

Link copied to clipboard

true if the target object satisfied all evaluated constraints; false otherwise.