ValidateFrom
Deprecated (with error)
Removed in 2.0: @ValidateFrom/@ValidateTo became the single field-anchored @Validate — declare it once on the field that owns the rule; it fires on both sides of every mapping direction.
Replace with
import com.sahsenvar.kmapper.annotations.Validate
Content copied to clipboard
ValidateContent copied to clipboard
1.x source-side validation — replaced by the field-anchored Validate: one declaration on the field that OWNS the rule fires before conversion when the field is a source and after conversion when it is a target, in every generated direction.