Hi,
Assume I have a Grails domain object like this:
class Todo {
String name
String priority
String status
static constraints = {
name(blank: false)
priority()
}
}
What are the default constraints on a field if:
- It's listed in the
constraints
block without any actual contraints, e.g. priority - It isn't listed in the
constraints
block, e.g. status
Thanks, Don