Another feature I will soon be implementing in Lafcadio will be validating domain objects on commits, and raising errors if the values don't work out. An easy example is to make sure that values aren't nil unless they're explicitly allowed to be nil; something more subtle is the EmailField, which can test to make sure that its value is a valid-looking email address.
You'll be able to turn this on or off in the config file, but I wonder about the default. Would most of you want to use this, or not? Should the default be on or off?
|