From c77ec0d17afed03eb45a691bf33c4daada10931a Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 23 Aug 2024 10:42:57 +0200 Subject: [PATCH] Exclude formulas --- packages/server/src/sdk/app/tables/getters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/sdk/app/tables/getters.ts b/packages/server/src/sdk/app/tables/getters.ts index b85add114e..4ce54adc30 100644 --- a/packages/server/src/sdk/app/tables/getters.ts +++ b/packages/server/src/sdk/app/tables/getters.ts @@ -163,7 +163,7 @@ export async function enrichRelationshipSchema( for (const relTableFieldName of Object.keys(relTable.schema)) { const relTableField = relTable.schema[relTableFieldName] - if (relTableField.type === FieldType.LINK) { + if ([FieldType.LINK, FieldType.FORMULA].includes(relTableField.type)) { continue }