fix: standardize GraphQL schema UUID field types (#13550)

Closes [#1264](https://github.com/twentyhq/core-team-issues/issues/1264)
This commit is contained in:
Abdul Rahman
2025-08-04 15:13:48 +05:30
committed by GitHub
parent d8ec2e3959
commit 01f25519f6
98 changed files with 590 additions and 478 deletions
@@ -35,7 +35,7 @@ export class ObjectMetadataDTO {
@IDField(() => UUIDScalarType)
id: string;
@Field()
@Field(() => UUIDScalarType)
dataSourceId: string;
@Field()
@@ -86,10 +86,10 @@ export class ObjectMetadataDTO {
@Field()
updatedAt: Date;
@Field(() => String, { nullable: true })
@Field(() => UUIDScalarType, { nullable: true })
labelIdentifierFieldMetadataId?: string | null;
@Field(() => String, { nullable: true })
@Field(() => UUIDScalarType, { nullable: true })
imageIdentifierFieldMetadataId?: string | null;
@Field()
@@ -61,12 +61,12 @@ export class UpdateObjectPayload {
@IsUUID()
@IsOptional()
@Field({ nullable: true })
@Field(() => UUIDScalarType, { nullable: true })
labelIdentifierFieldMetadataId?: string;
@IsUUID()
@IsOptional()
@Field({ nullable: true })
@Field(() => UUIDScalarType, { nullable: true })
imageIdentifierFieldMetadataId?: string;
@IsBoolean()