Remove object relation schema from step output (#16428)
Fix https://github.com/twentyhq/core-team-issues/issues/1931 On trigger database event and step record crud, we still display the full object for relation in the variable picker (Account Owner in screenshot). <img width="259" height="189" alt="Capture d’écran 2025-12-09 à 14 43 06" src="https://github.com/user-attachments/assets/1d7fdebf-9183-4197-929a-7b7d719c465a" /> But as we do not enrich the data anymore, those fields are actually empty. We should instead display AccountOwnerId and, if the user needs the full Account owner, a search can be used. <img width="259" height="189" alt="Capture d’écran 2025-12-09 à 14 42 37" src="https://github.com/user-attachments/assets/87b46762-3204-4d25-9b6a-077d6b8567bd" />
This commit is contained in:
-2
@@ -229,7 +229,6 @@ export const prefillWorkflows = async (
|
||||
flatObjectMetadataMaps,
|
||||
flatFieldMetadataMaps,
|
||||
},
|
||||
depth: 0,
|
||||
}),
|
||||
},
|
||||
errorHandlingOptions: {
|
||||
@@ -272,7 +271,6 @@ export const prefillWorkflows = async (
|
||||
flatObjectMetadataMaps,
|
||||
flatFieldMetadataMaps,
|
||||
},
|
||||
depth: 0,
|
||||
}),
|
||||
},
|
||||
errorHandlingOptions: {
|
||||
|
||||
Reference in New Issue
Block a user