pg-mvc-service 2.0.116 → 2.0.117

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.
@@ -1102,7 +1102,11 @@ class RequestType extends ReqResType_1.default {
1102
1102
  }
1103
1103
  for (const key of Object.keys(property.properties)) {
1104
1104
  if (property.properties[key].type.endsWith('?') === false) {
1105
- this.throwInputError("REQUIRE_11", [...keys, key], "");
1105
+ errorList.push({
1106
+ status: 400,
1107
+ code: code + '-REQUIRE_11',
1108
+ description: this.createErrorMessage('REQUIRE_11', [...keys, key]),
1109
+ });
1106
1110
  }
1107
1111
  switch (property.properties[key].type) {
1108
1112
  case 'object':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-mvc-service",
3
- "version": "2.0.116",
3
+ "version": "2.0.117",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/n-daira/npm-pack_mvc-service#readme",
6
6
  "bugs": {
@@ -1210,7 +1210,11 @@ export class RequestType extends ReqResType {
1210
1210
 
1211
1211
  for (const key of Object.keys(property.properties)) {
1212
1212
  if (property.properties[key].type.endsWith('?') === false) {
1213
- this.throwInputError("REQUIRE_11", [...keys, key], "");
1213
+ errorList.push({
1214
+ status: 400,
1215
+ code: code + '-REQUIRE_11',
1216
+ description: this.createErrorMessage('REQUIRE_11', [...keys, key]),
1217
+ });
1214
1218
  }
1215
1219
 
1216
1220
  switch (property.properties[key].type) {