missing nullable field definition

This commit is contained in:
Ulf Gebhardt 2022-01-20 14:08:32 +01:00
parent af8bc01df1
commit 777d1f2f43
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -37,7 +37,7 @@ export class User {
@Field(() => String)
lastName: string
@Field(() => String)
@Field(() => String, { nullable: true })
username?: string
@Field(() => String, { nullable: true })