morph fix for release 1.4 (#14029)

DataLoader Specific update du to Morph relations that have many rows

Fixes https://github.com/twentyhq/twenty/issues/14018
This commit is contained in:
Guillim
2025-08-21 16:43:14 +02:00
committed by GitHub
parent 707043c3ba
commit 35df56e7d8
3 changed files with 41 additions and 6 deletions
@@ -250,7 +250,9 @@ export class DataloaderService {
});
});
return filterMorphRelationDuplicateFieldsDTO(fields);
return filterMorphRelationDuplicateFieldsDTO<FieldMetadataDTO>(
fields,
);
});
return fieldMetadataCollection;