Skip to content

1.2.0 Release

Compare
Choose a tag to compare
@luismts luismts released this 01 Jan 00:45
· 24 commits to version-1.2 since this release

What's New in this Release

Validatable Objects

  • ValidatableObject renamed to Validatable.
  • Now implements ValueChanged event.
  • Now implements ValidateCommand command.
  • Now can take ValidationRules by the constructor.

Formatters

  • Now you can format your properties from your ViewModels in an easy and simple way.
  • Default Formatters:
    • BoolNegationFormatter
    • MaskFormatter
    • StringCaseFormatter
    • StringNumericFormatter

Default Rules

  • CrediCardRule
  • EmailRule
  • EmptyRule
  • EnumRule
  • EqualRule
  • GreaterThanOrEqualRule
  • InclusiveBetweenRule
  • LenghtRule
  • LessThanOrEqualRule
  • LessThanRule
  • NotEmptyRule
  • NotEqualRule
  • NotNullRule
  • RegularExpressionRule

Other

  • Mappers:
    • Now you can use IMapperValidator interface and create your own mapper in a model validator.
    • Now you can use MapValidator<Model, Validator>() extension method to automap your model validators.