mazboot.validations

Type members

Classlikes

open class EqualsTo[A](a: A) extends FromPredicate[A]

checks if a value equals to the specified reference

checks if a value equals to the specified reference

open class FromPredicate[Raw](predicate: Raw => Boolean, predicateName: String) extends FromPredicate0[Raw]
Companion
object
Companion
class
abstract class FromPredicate0[Raw](val predicate: Raw => Boolean, val predicateName: String) extends Validation[Raw]
trait Validation[Raw]

Module that can define a newtype together with validation logic

Module that can define a newtype together with validation logic

All instances of this trait anywhere in the codebase can be retrieved given a Valid type via the Validation.Of typeclass

Companion
object
object Validation
Companion
class