Factlink / pavlov

Provides a Command/Query/Interactor framework.
MIT License
22 stars 4 forks source link

Validation should fail if attribute is defined without a default value and no value was set. #30

Closed marten closed 11 years ago

marten commented 11 years ago

We might want to have a look at validations altogether (now or at some later point). I think #call should raise an exception if operation is not valid, but #valid? should not.

coveralls commented 11 years ago

Coverage Status

Coverage remained the same when pulling 02786401b5981d16e976dfae48824010e79b6f1c on feature/value-presence-validation into 67dc80dc899412ee05ad10399011f7f3c39a6afa on feature/new-api-proposal.