Add [from/to]Description to CreateRelationInput (#2613)
This commit is contained in:
@ -62,9 +62,19 @@ export class CreateRelationInput {
|
||||
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
@Field({ nullable: true })
|
||||
@Field({ nullable: true, deprecationReason: 'Use fromDescription instead' })
|
||||
description?: string;
|
||||
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
@Field({ nullable: true })
|
||||
fromDescription?: string;
|
||||
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
@Field({ nullable: true })
|
||||
toDescription?: string;
|
||||
|
||||
@HideField()
|
||||
workspaceId: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user