faker
faker copied to clipboard
Change default word filtering strategy to fail
https://github.com/faker-js/faker/blob/d31579b2593de48ea01015ad1cd2c46207a67a94/test/modules/word.spec.ts#L66-L73
IMO if the user specifies a specific length for their words, then by default it should fail if the request cannot be fulfilled. If the user wants a different behavior, then they can still define an explicit error handling strategy.
Found while looking at: #3261
- #3261