Validator
Simple validator abstraction using Cats Validated.
Value members
Concrete methods
Validate if the test passes, otherwise fail with error.
Validate if the test passes, otherwise fail with error.
Apply constraint to each element of the extracted sequence.
Apply constraint to each element of the extracted sequence.
Apply constraint to each element of the extracted sequence. If invalid then compute and add prefix to the errors.
Apply constraint to each element of the extracted sequence. If invalid then compute and add prefix to the errors.
Apply constraint to each element of the extracted sequence if non empty.
Apply constraint to each element of the extracted sequence if non empty.
Apply constraint to each element of the extracted sequence if non empty. If invalid then compute and add prefix to the errors.
Apply constraint to each element of the extracted sequence if non empty. If invalid then compute and add prefix to the errors.
Apply constraint to each element of the extracted sequence if defined.
Apply constraint to each element of the extracted sequence if defined.
Apply constraint to each element of the extracted sequence if non empty. If invalid then compute and add prefix to the errors.
Apply constraint to each element of the extracted sequence if non empty. If invalid then compute and add prefix to the errors.
Validate if the test returns Right, otherwise fail with Left error.
Validate if the test returns Right, otherwise fail with Left error.
Validate if the test returns Right, otherwise fail with Left error prefixed.
Validate if the test returns Right, otherwise fail with Left error prefixed.
Validate if the test returns Some, otherwise fail with error.
Validate if the test returns Some, otherwise fail with error.
Check if at least one extracted property is defined.
Check if at least one extracted property is defined.
Check if at most one extracted property is defined.
Check if at most one extracted property is defined.
Check if one and only one extracted property is defined.
Check if one and only one extracted property is defined.
Check if one and only one set of properties is fully defined.
Check if one and only one set of properties is fully defined.
Apply constraint to the extracted property if defined, otherwise follow isValidIfNone flag.
Apply constraint to the extracted property if defined, otherwise follow isValidIfNone flag.
Apply constraint to the extracted property if defined, otherwise follow isValidIfNone flag. If invalid then add prefix to the errors.
Apply constraint to the extracted property if defined, otherwise follow isValidIfNone flag. If invalid then add prefix to the errors.
Apply constraint to the extracted property and if invalid then add prefix to the errors.
Apply constraint to the extracted property and if invalid then add prefix to the errors.
Combine two constraints to make a constraint on a pair.
Combine two constraints to make a constraint on a pair.
Combine three constraints to make a constraint on a tuple.
Combine three constraints to make a constraint on a tuple.
Combine four constraints to make a constraint on a tuple.
Combine four constraints to make a constraint on a tuple.
Depending on the guard constraint result follow checks with either first or second constraint.
Depending on the guard constraint result follow checks with either first or second constraint.
If the guard constraint is invalid then try next constraint.
If the guard constraint is invalid then try next constraint.