fix: displayName return undefined and drop displayName from user table (#505)
This commit is contained in:
@ -9,8 +9,8 @@ export class CreateManyWorkspaceArgs {
|
||||
|
||||
@Field(() => [WorkspaceCreateManyInput], {nullable:false})
|
||||
@Type(() => WorkspaceCreateManyInput)
|
||||
@ValidateNested({each: true})
|
||||
@Type(() => WorkspaceCreateManyInput)
|
||||
@ValidateNested({each: true})
|
||||
data!: Array<WorkspaceCreateManyInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
|
||||
@ -9,7 +9,7 @@ export class CreateOneWorkspaceArgs {
|
||||
|
||||
@Field(() => WorkspaceCreateInput, {nullable:false})
|
||||
@Type(() => WorkspaceCreateInput)
|
||||
@ValidateNested({each: true})
|
||||
@Type(() => WorkspaceCreateInput)
|
||||
@ValidateNested({each: true})
|
||||
data!: WorkspaceCreateInput;
|
||||
}
|
||||
|
||||
@ -10,8 +10,8 @@ export class UpdateManyWorkspaceArgs {
|
||||
|
||||
@Field(() => WorkspaceUpdateManyMutationInput, {nullable:false})
|
||||
@Type(() => WorkspaceUpdateManyMutationInput)
|
||||
@ValidateNested({each: true})
|
||||
@Type(() => WorkspaceUpdateManyMutationInput)
|
||||
@ValidateNested({each: true})
|
||||
data!: WorkspaceUpdateManyMutationInput;
|
||||
|
||||
@Field(() => WorkspaceWhereInput, {nullable:true})
|
||||
|
||||
@ -10,8 +10,8 @@ export class UpdateOneWorkspaceArgs {
|
||||
|
||||
@Field(() => WorkspaceUpdateInput, {nullable:false})
|
||||
@Type(() => WorkspaceUpdateInput)
|
||||
@ValidateNested({each: true})
|
||||
@Type(() => WorkspaceUpdateInput)
|
||||
@ValidateNested({each: true})
|
||||
data!: WorkspaceUpdateInput;
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:false})
|
||||
|
||||
Reference in New Issue
Block a user