hatch icon indicating copy to clipboard operation
hatch copied to clipboard

An address without a street? A person without a name? You don't need no invalid objects!

Results 2 hatch issues
Sort by recently updated
recently updated
newest added

Improve Hatch to allow multiple validations for each parameter/property. ``` ruby class LoginForm include Hatch certify('email', 'must_be_present') do |email| !email.nil? && !email.empty? end certify('email', 'email_must_exist') do |email| # example using...

There are cases where the developer has to compare one property against another. E.g: certify that password.eq(password_confirmation) Provide a way to access other properties in the scope of a validation.