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