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