-
Notifications
You must be signed in to change notification settings - Fork 79
Step 8 Validate command
Sam edited this page Jun 25, 2017
·
3 revisions
Remember that command validation is different to data validation. Command validators don't validate against business rules, they validate against data integrity rules.
Data integrity rules are rules such as:
- Does this property have a value, because it's required?
- Does this property value match a regular expression such as ensure it is an email address or url., not does this email address exists or not.