[OBJECT_CACHE_FLUSH_REQUIRED_WHEN_RELEASED] Remove FlatObjectMetadata custom fieldMetadataIds fk aggregator property (#17438)

# Introduction
Currently refactoring `flatEntity` typing, encountering some tsc errors
due to this fk aggregator custom override
It shall now follow generic pattern leading to be named `fieldIds`

Needs to flush object cache when released
This commit is contained in:
Paul Rastoin
2026-01-26 14:33:07 +01:00
committed by GitHub
parent 4a5ffcc9d2
commit d0bc9a94c0
69 changed files with 93 additions and 97 deletions
@@ -113,7 +113,7 @@ export const ALL_METADATA_RELATIONS = {
manyToOne: {
object: {
metadataName: 'objectMetadata',
flatEntityForeignKeyAggregator: 'fieldMetadataIds',
flatEntityForeignKeyAggregator: 'fieldIds',
foreignKey: 'objectMetadataId',
},
workspace: null,