Add relations in database event trigger output data (#11820)
## Done - add relations in dropdown variables - add relations in worklfow run inputs - use objectMetadataMaps in workflow folder ## To do - does not work with rest api calls, will be fixed after https://github.com/twentyhq/twenty/pull/11349 is merged - waiting for crud action relation fields https://github.com/twentyhq/core-team-issues/issues/509
This commit is contained in:
@ -7,4 +7,8 @@ import { ObjectMetadataItemWithFieldMaps } from 'src/engine/metadata-modules/typ
|
||||
export const removeFieldMapsFromObjectMetadata = (
|
||||
objectMetadata: ObjectMetadataItemWithFieldMaps,
|
||||
): ObjectMetadataInterface =>
|
||||
omit(objectMetadata, ['fieldsById', 'fieldsByName']);
|
||||
omit(objectMetadata, [
|
||||
'fieldsById',
|
||||
'fieldsByName',
|
||||
'fieldsByJoinColumnName',
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user