@postxl/generator 0.9.1 → 0.9.2
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.
|
@@ -99,7 +99,7 @@ export class ${meta.data.repositoryClassName} implements Repository<
|
|
|
99
99
|
|
|
100
100
|
for (const rawItem of data) {
|
|
101
101
|
const item = this.${decoder}(rawItem)
|
|
102
|
-
this.
|
|
102
|
+
this.set(item)
|
|
103
103
|
|
|
104
104
|
${model.defaultField ? defaultValueInitFn : ''}
|
|
105
105
|
${uniqueStringFields.map((f) => `this.uniqueIds.${f.name}.set(item.${f.name}, item)`).join('\n')}
|