ValidateTo

typealias ValidateTo = Validate

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
Validate

1.x target-side validation — see ValidateFrom; both names collapse into Validate.