andrebaltieri / Flunt

Validations and Notifications
https://github.com/andrebaltieri/flunt
MIT License
626 stars 162 forks source link

BoolValidationContract #28

Closed douglasfls closed 5 years ago

douglasfls commented 5 years ago

Shoudn't be the crontrary?

On BoolValidationContract IsFalse adds notification if it is true and IsTrue adds notification if is false. Isn't supposed to be the contrary?

andrebaltieri commented 5 years ago

A contract requires that some value is true. If it is false, then a validation message will be added to the entity!

andrebaltieri commented 5 years ago

Also you can check the testes for more information!