import { Field } from '@nestjs/graphql'; import { ArgsType } from '@nestjs/graphql'; import { UserWhereUniqueInput } from '../user/user-where-unique.input'; import { Type } from 'class-transformer'; @ArgsType() export class FindUniqueUserOrThrowArgs { @Field(() => UserWhereUniqueInput, {nullable:false}) @Type(() => UserWhereUniqueInput) where!: UserWhereUniqueInput; }