Fix wrong uuid error on field metadata (#18598)

## Summary
- Same fix as #18590 but applied to `FieldMetadataDTO`
- Changed `universalIdentifier` from `UUID` to `String` type since field
metadata universal identifiers are not necessarily valid UUIDs
- Removed `universalIdentifier` from `FieldFilter` (was using
`UUIDFilterComparison`)
- Updated generated SDK and frontend types accordingly
This commit is contained in:
Charles Bochet
2026-03-12 18:51:42 +01:00
committed by GitHub
parent 3f420c84d7
commit ab13020e2b
5 changed files with 10 additions and 16 deletions
@@ -64,9 +64,8 @@ export class FieldMetadataDTO<T extends FieldMetadataType = FieldMetadataType> {
@IDField(() => UUIDScalarType)
id: string;
@IsUUID()
@IsNotEmpty()
@IDField(() => UUIDScalarType)
@Field()
universalIdentifier: string;
@IsEnum(FieldMetadataType)