nox-validation 1.3.4 → 1.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/validate.js +1 -0
  2. package/package.json +1 -1
package/lib/validate.js CHANGED
@@ -299,6 +299,7 @@ const validateMetaRules = (
299
299
  let fPath = node.key;
300
300
 
301
301
  if (fPath.includes("update.")) return;
302
+ if (fPath.includes("create.") && !isTranslationChild) return;
302
303
 
303
304
  const label = formatLabel(node.display_label);
304
305
  const message = error_messages.REQUIRED.replace("{field}", label);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nox-validation",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "validate dynamic schema",
5
5
  "main": "index.js",
6
6
  "scripts": {