Feat/activities custom objects (#3213)
* WIP * WIP - MultiObjectSearch * WIP * WIP * Finished working version * Fix * Fixed and cleaned * Fix * Disabled files and emails for custom objects * Cleaned console.log * Fixed attachment * Fixed * fix lint --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -111,8 +111,9 @@ export class RelationFieldAliasFactory {
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
||||
let relationAlias = fieldMetadata.isCustom
|
||||
? `${fieldKey}: ${fieldMetadata.targetColumnMap.value}`
|
||||
? `${fieldKey}: ${referencedObjectMetadata.targetTableName}`
|
||||
: fieldKey;
|
||||
|
||||
// For one to one relations, pg_graphql use the targetTableName on the side that is not storing the foreign key
|
||||
|
||||
Reference in New Issue
Block a user