nox-validation 1.2.8 → 1.2.9

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 -1
  2. package/package.json +1 -1
package/lib/validate.js CHANGED
@@ -157,7 +157,7 @@ const isEmptyRelational = ({ api_version, value, interface }) => {
157
157
  return value?.length > 0;
158
158
  }
159
159
  } else {
160
- return value?.create?.length > 0 || value?.existing?.length > 0;
160
+ return value?.create?.length > 0 || value?.existing?.length > 0 || value?.update?.length > 0;
161
161
  }
162
162
  return false;
163
163
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nox-validation",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "validate dynamic schema",
5
5
  "main": "index.js",
6
6
  "scripts": {