@nanzc/rapid
Advanced tools
Comparing version 1.2.8 to 1.2.9
@@ -18,2 +18,4 @@ "use strict"; | ||
const value = gather[rules.location][field]; | ||
if (!rules.required && value === undefined) | ||
continue; | ||
const [success, message] = new _1.Verify(field, value, rules).validating(); | ||
@@ -20,0 +22,0 @@ if (!success) { |
{ | ||
"name": "@nanzc/rapid", | ||
"version": "1.2.8", | ||
"version": "1.2.9", | ||
"description": "An Rapid is a Rapid back-end development framework based on the onion model and modifier to adapt to the changing times.", | ||
@@ -10,2 +10,3 @@ "main": "lib/index.js", | ||
"build": "tsc", | ||
"prepublishOnly": "npm run build", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
@@ -12,0 +13,0 @@ }, |
@@ -5,2 +5,2 @@ # rapid | ||
- 无法自动将 public 打包进 lib | ||
- TODO: 自动将 public 打包进 lib |
198925
1307