helpers.multiple fails with a generic error when the number of elements exceeds 2^32 - 1 #2374
Closed
9 of 10 tasks
Labels
c: bug
Something isn't working
c: refactor
PR that affects the runtime behavior, but doesn't add new features or fixes bugs
m: helpers
Something is referring to the helpers module
m: string
Something is referring to the string module
p: 1-normal
Nothing urgent
s: accepted
Accepted feature / Confirmed bug
Milestone
Pre-Checks
Describe the bug
When calling faker.helpers.multiple() with a value of or over 2^32 the method will fail with a generic error.
Minimal reproduction code
Additional Context
Created after some testing for #2372
This issue is NOT about handling the absence of a required parameter.
Environment Info
Which module system do you use?
Used Package Manager
pnpm
The text was updated successfully, but these errors were encountered: