ValidationResult api change