We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b5e145 commit 03dab8cCopy full SHA for 03dab8c
1 file changed
src/main/java/org/javawebstack/validator/rule/UUIDRule.java
@@ -12,6 +12,8 @@
12
public class UUIDRule implements ValidationRule {
13
14
public String validate(ValidationContext context, Field field, AbstractElement value) {
15
+ if(value == null || value.isNull())
16
+ return null;
17
if (!value.isString())
18
return "Not a valid uuid value";
19
try {
0 commit comments