Adds a validate method to any class if an implicit validator is in scope
Adds a validate method to any class if an implicit validator is in scope
the type of value
the return type of the ValidationResult
Adds a validateWith method to any class if an implicit validator is in scope
Adds a validateWith method to any class if an implicit validator is in scope
the type of the value
the type of the parameter to validateWith
the return type of the ValidationResult
Importing ValidationSyntax extends validate and validateWith methods to a class A if an implicit ValidatableResult[A][_] or ValidatableWithResult[A][_][_] is defined for that class.
Import this object alongside the validator to add methods to a class
Because this object contains implicits, it is suggested to limit the scope of the import.