[Fix] isLabelSyncedWithName should be nullable (#9028)

isLabelSyncedWithName should be nullable for fieldMetadata, as it is for
objectMetadata.

+ Adding missing validation on label and name sync in
fieldMetadataService for creation and update
+ adding metadata tests
This commit is contained in:
Marie
2024-12-12 18:25:40 +01:00
committed by GitHub
parent 2990d23411
commit d56c815897
19 changed files with 422 additions and 12 deletions

View File

@ -147,7 +147,7 @@ export class FieldMetadataDTO<
@IsBoolean()
@IsOptional()
@Field()
@Field({ nullable: true })
isLabelSyncedWithName?: boolean;
@IsDateString()