username is nullable

This commit is contained in:
Ulf Gebhardt 2022-01-19 21:42:25 +01:00
parent 615dc4f5fa
commit 427608ada3
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

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