Jank1310 / datadolphin

Open source csv/xlsx importer
MIT License
2 stars 0 forks source link

unique.map is undefined in performValidations #95

Closed Jank1310 closed 4 months ago

Jank1310 commented 4 months ago

@Flofie The following code has no guard against missing the unique property. Is this a bug?

const { columnStats, totalCount } = await acts.generateStatsPerColumn({
      importerId,
      uniqueColumns: columnValidators.unique.map((item) => item.column),
    });