We have recently discovered that we were using ID type in place of UUID type in many place in the code. We have merged #4895 but this introduced bugs as we forgot to replace it everywhere
14 lines
365 B
TypeScript
14 lines
365 B
TypeScript
import { InputType } from '@nestjs/graphql';
|
|
|
|
import { IDField } from '@ptc-org/nestjs-query-graphql';
|
|
|
|
import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
|
|
|
|
@InputType()
|
|
export class DeleteOneFieldInput {
|
|
@IDField(() => UUIDScalarType, {
|
|
description: 'The id of the field to delete.',
|
|
})
|
|
id!: string;
|
|
}
|