nativemodels
Advanced tools
@@ -8,3 +8,6 @@ "use strict"; | ||
| if (type.validate(value, key)) { | ||
| if (!type.validate || !type.parse) { | ||
| console.warn("Schema Key: '".concat(key, "' is not a valid datatype or customtype")); | ||
| return value; | ||
| } else if (type.validate(value, key)) { | ||
| return type.parse(value, key); | ||
@@ -11,0 +14,0 @@ } |
+1
-1
@@ -51,3 +51,3 @@ { | ||
| }, | ||
| "version": "1.3.0" | ||
| "version": "1.3.1" | ||
| } |
34177
0.45%443
0.68%