src/modules/core/airtable/consolidateSanitizedAirtableRecord.ts
Avoid deeply nested control flow statements. Wontfix
Wontfix
if (allowedRelationshipsDepthResolution > 0) {
consolidatedRelationship = consolidateSanitizedAirtableRecord(airtableSchema, sanitizedDataset, relatedRecord, allowedRelationshipsDepthResolution - 1);
} else {
consolidatedRelationship = relatedRecord;
}
Avoid deeply nested control flow statements. Wontfix
Wontfix
if (allowedRelationshipsDepthResolution > 0) {
consolidatedRelationship.push(consolidateSanitizedAirtableRecord(airtableSchema, sanitizedDataset, relatedRecord, allowedRelationshipsDepthResolution - 1));
} else {
consolidatedRelationship.push(relatedRecord);
}
TODO found Wontfix
Wontfix
* TODO This is not optimised. A better way of doing things would be to go through the whole dataset and create circular references by resolving each relationship.
- Exclude checks