address.secondaryAddress
doesn't use faker.definitions.address.secondary_address
#676
Labels
Milestone
Clear and concise description of the problem
The current implementation of
faker.address.secondaryAddress
uses a hardcoded string array to choose from instead of the definition one. This means locales are ignored for this method.faker/src/address.ts
Lines 311 to 316 in e62fd15
Suggested solution
Use
faker.definitions.address.secondary_address
instead of the hardcoded string arrayAlternative
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: