Open thegenius opened 2 weeks ago
and it will be better to generate mock in a separated file
PR is welcome i would think this would be easy fix for bigint
As I have read the source code of the mock package, it's not so hard to fix this. But it's a big problem to create a correct PR, but there is no tests with mock, I can't find any test code for mock, so if it be possible to create a basic tests suite. And after we get test suite, then we can create correct PR to help this project.
when field type is bigint, mock will use faker.number.int() to generate number value, which cause error.