-
-
Notifications
You must be signed in to change notification settings - Fork 975
faker.name lastName and middleName doesn't work correctly with gender selection #373
New issue
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
Comments
In Arabic Locale there are also a strange behavior
|
It seems the same behavior exists in English |
ganeshbudhathoki
added a commit
to ganeshbudhathoki/faker
that referenced
this issue
Feb 5, 2022
fix for default (en) locale, locale (uk) is working as expected. |
Closed
Shinigami92
pushed a commit
to ganeshbudhathoki/faker
that referenced
this issue
Mar 21, 2022
Repository owner
moved this from In Progress
to Done
in Faker Roadmap
Mar 21, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using
faker.name.lastName
orfaker.name.middleName
with a specific gender, it returns invalid behavior.It will return female names for male names.
Reproduction
Additional Info
faker/src/name.ts
Lines 63 to 125 in 730ca6a
The text was updated successfully, but these errors were encountered: