import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { ArticleWhereUniqueInput } from './article-where-unique.input'; import { Type } from 'class-transformer'; import { ArticleUpdateWithoutAuthorInput } from './article-update-without-author.input'; @InputType() export class ArticleUpdateWithWhereUniqueWithoutAuthorInput { @Field(() => ArticleWhereUniqueInput, {nullable:false}) @Type(() => ArticleWhereUniqueInput) where!: ArticleWhereUniqueInput; @Field(() => ArticleUpdateWithoutAuthorInput, {nullable:false}) @Type(() => ArticleUpdateWithoutAuthorInput) data!: ArticleUpdateWithoutAuthorInput; }