We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, If I try to generate some data using faker.finance.amount, mocker-data-generator fails with the following error:
faker.finance.amount
Error: Schema: "example" Error: "faker" Error: Max 10 should be greater than min 5.
Here's a code that can be used to reproduce the issue:
import { faker } from "@faker-js/faker"; import { mocker } from "mocker-data-generator"; mocker() .addGenerator("faker", faker) .schema("example", { amount: { faker: "finance.amount(5, 10)" } }, 1) .buildSync()["example"];
I'm using the following versions:
mocker-data-generator: 3.0.3 @faker-js/faker: 7.6.0
3.0.3
7.6.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, If I try to generate some data using
faker.finance.amount
, mocker-data-generator fails with the following error:Here's a code that can be used to reproduce the issue:
I'm using the following versions:
mocker-data-generator:
3.0.3
@faker-js/faker:
7.6.0
The text was updated successfully, but these errors were encountered: