Commit 400bc178 authored by nanahira's avatar nanahira

fix

parent d280e30c
Pipeline #8789 passed with stages
in 1 minute and 36 seconds
...@@ -20,7 +20,12 @@ export const RelationColumn = ( ...@@ -20,7 +20,12 @@ export const RelationColumn = (
transformer: new BigintTransformer(), transformer: new BigintTransformer(),
...columnExtras, ...columnExtras,
}), }),
ApiProperty({ type: Number, description, ...propertyExtras }), ApiProperty({
type: Number,
description,
...propertyExtras,
required: notNull,
}),
...(notNull ? [] : [IsOptional()]), ...(notNull ? [] : [IsOptional()]),
IsInt(), IsInt(),
IsPositive(), IsPositive(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment