Closed xpicio closed 5 years ago
nevermind i fixed my issue in this way:
field: {
type: String,
require: true,
index: true,
required: [true, "Property is required"],
fake: faker => {
return faker.random.arrayElement(["01", "02" , "03", "04"]);
}
}
Hello, is here any way to use the
random
generator with typearrayElement
? Checking the code it's seem not supported but i am not sure :)