Allows for unordered building of org.scalatra.validation.ValidationError
You can add do ValidationError("the message", ValidationFail, FieldName("email"))
or ValidationError("the message", FieldName("email"), ValidationFail)
and also ValidationError("the message", FieldName("email"), Some(ValidationFail))
Allows for unordered building of org.scalatra.validation.ValidationError
You can add do ValidationError("the message", ValidationFail, FieldName("email"))
or ValidationError("the message", FieldName("email"), ValidationFail)
and also ValidationError("the message", FieldName("email"), Some(ValidationFail))
This method will create a correct ValidationError that looks like:
ValidationError("the message", FieldName("email"), Some(ValidationFail), Seq())
Allows for unordered building of org.scalatra.validation.ValidationError
(Since version 2.6.0) Use scalatra-forms instead.