We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 678b4b9 commit 41aeda8Copy full SHA for 41aeda8
grails-datastore-gorm/src/main/groovy/org/grails/datastore/gorm/GormValidateable.groovy
@@ -67,11 +67,7 @@ trait GormValidateable {
67
* @return True if the instance is valid
68
*/
69
boolean validate(Map arguments) {
70
- if(!shouldSkipValidation()) {
71
- currentGormValidationApi().validate this, arguments
72
- } else {
73
- return true
74
- }
+ currentGormValidationApi().validate this, arguments
75
}
76
77
/**
@@ -81,11 +77,7 @@ trait GormValidateable {
81
82
78
83
79
boolean validate(List fields) {
84
85
- currentGormValidationApi().validate this, fields
86
87
88
80
+ currentGormValidationApi().validate this, fields
89
90
91
0 commit comments