13 lines
391 B
TypeScript
13 lines
391 B
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { ArgsType } from '@nestjs/graphql';
|
|
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
|
import { Type } from 'class-transformer';
|
|
|
|
@ArgsType()
|
|
export class FindUniquePersonOrThrowArgs {
|
|
|
|
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
|
@Type(() => PersonWhereUniqueInput)
|
|
where!: PersonWhereUniqueInput;
|
|
}
|