File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
modules/cbvalidation/models Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
=========
3
3
4
- ## 1.2.2
4
+ ## 1.3.0
5
5
* Build updates and travis updates
6
+ * Unified Workbench
7
+ * ` MaxValidator ` The Max validator needs to better reflect that it can be less than or equal to the number to compare to <=
8
+ * ` MinValidator ` The explanation needs to better reflect the min validator which is >=
9
+ * Allow custom validators to be specified just by key and the payload to be passed in as validation data
10
+ * ` GenericObject ` Should return ` null ` on non-existent keys instead of an exception if not we cannot validate nullness
6
11
7
12
## 1.2.1
8
13
* Dependency updates
Original file line number Diff line number Diff line change @@ -21,16 +21,12 @@ component{
21
21
22
22
// Process getters and setters
23
23
any function onMissingMethod ( required string missingMethodName , required struct missingMethodArguments ){
24
-
25
24
var key = replacenocase ( arguments .missingMethodName , " get" ," " );
26
25
27
26
if ( structKeyExists ( collection , key ) ){
28
27
return collection [ key ];
29
28
}
30
29
31
- throw (message = " The key requested '#key #' does not exist in the collection" ,
32
- detail = " The valid keys are #structKeyList ( collection ) #" ,
33
- type = " GenericObject.InvalidKey" );
34
-
30
+ // Return null
35
31
}
36
32
}
You can’t perform that action at this time.
0 commit comments