We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 247106a commit 2064b45Copy full SHA for 2064b45
src/schema/custom-schema.class.ts
@@ -21,9 +21,13 @@ export class CustomSettings {
21
@IsArray()
22
@ValidateNested({ each: true })
23
tablesToFill: string[] = [];
24
+ /**
25
+ * A default value has been provided to maxLengthValue as this can drastically improve performances. This is a parameter which used to be
26
+ * defined a lot by user anyway. The value of 36 has been chosen to allow usage of UID in string generator.
27
+ */
28
@IsNumber()
29
@IsOptional()
- maxLengthValue?: number;
30
+ maxLengthValue?: number = 36;
31
values: { [key: string]: any[]; } = {};
32
options: {
33
generators: Generators[],
0 commit comments