rez_core 3.1.50 → 3.1.51
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.
- package/.vscode/extensions.json +5 -0
- package/dist/module/meta/service/entity-dynamic.service.js +6 -2
- package/dist/module/meta/service/entity-dynamic.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/meta/service/entity-dynamic.service.ts +16 -2
package/package.json
CHANGED
|
@@ -106,7 +106,14 @@ export class EntityDynamicService {
|
|
|
106
106
|
},
|
|
107
107
|
];
|
|
108
108
|
|
|
109
|
-
|
|
109
|
+
// Only push bypassColumn attributes that don't already exist in validAttributes
|
|
110
|
+
const existingAttributeKeys = validAttributes.map(
|
|
111
|
+
(attr) => attr.attribute_key,
|
|
112
|
+
);
|
|
113
|
+
const newBypassColumns = bypassColumn.filter(
|
|
114
|
+
(bypass) => !existingAttributeKeys.includes(bypass.attribute_key),
|
|
115
|
+
);
|
|
116
|
+
validAttributes.push(...newBypassColumns);
|
|
110
117
|
|
|
111
118
|
const columns: string[] = [];
|
|
112
119
|
const values: any[] = [];
|
|
@@ -496,7 +503,14 @@ export class EntityDynamicService {
|
|
|
496
503
|
},
|
|
497
504
|
];
|
|
498
505
|
|
|
499
|
-
|
|
506
|
+
// Only push bypassColumn attributes that don't already exist in validAttributes
|
|
507
|
+
const existingAttributeKeys = validAttributes.map(
|
|
508
|
+
(attr) => attr.attribute_key,
|
|
509
|
+
);
|
|
510
|
+
const newBypassColumns = bypassColumn.filter(
|
|
511
|
+
(bypass) => !existingAttributeKeys.includes(bypass.attribute_key),
|
|
512
|
+
);
|
|
513
|
+
validAttributes.push(...newBypassColumns);
|
|
500
514
|
|
|
501
515
|
for (const key of Object.keys(entityData)) {
|
|
502
516
|
if (validAttributes.some((attr) => attr.attribute_key === key)) {
|