decojs / DecoJS

A framework for creating maintainable frontend applications
10 stars 2 forks source link

There should be a way to manually run validation on a command/query #10

Closed mariusGundersen closed 10 years ago

mariusGundersen commented 10 years ago

There is a way to check if a command/query is valid, but no way to run the validation. A validate method should be added to the prototype, and it should run validation and return the valid/invalid boolean result.