1 parent
f0f36c4f48
commit
40d579cdb9
30 files changed
+115
-14
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { Field, InputType, Int } from '@nestjs/graphql';
|
||||
import { IsInt, IsNotEmpty, IsOptional, IsString, Max, MaxLength, Min } from 'class-validator';
|
||||
import { IsDate, IsInt, IsNotEmpty, IsOptional, IsString, Max, MaxLength, Min } from 'class-validator';
|
||||
|
||||
@InputType()
|
||||
export class CreateIssueInput {
|
||||
@@ -35,4 +35,9 @@ export class CreateIssueInput {
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
assignee?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
@IsOptional()
|
||||
@IsDate()
|
||||
dueDate?: Date;
|
||||
}
|
||||
Reference in new issue
Block a user