-
-
Notifications
You must be signed in to change notification settings - Fork 1k
refactor(person): refine usage of PersonEntryDefinitions #3259
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
base: next
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for fakerjs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #3259 +/- ##
==========================================
- Coverage 99.97% 99.97% -0.01%
==========================================
Files 2995 2995
Lines 236243 236266 +23
Branches 941 943 +2
==========================================
+ Hits 236186 236208 +22
- Misses 57 58 +1
🚀 New features to boost your workflow:
|
|
I understand wanting to keep this PR small but I think it's difficult to decide if this is the right approach without reviewing what locale files will need to be updated too. To clarify with this approach would we require the "generic", "female" and "male" options never have any items in common? |
|
Team Decision We will change the sexType method to return all SexType values. ST-DDT: Will create a stacked PR for the locale changes.
|
@xDivisionByZerox Currently, the person files aren't sorted, so this by itself causes a massive diff. (Maybe start with only sorting first, because the cleanup PR will use the list for filtering: See #3266 (comment)) |
|
Updated the distribution to match the result from our team meeting. Ready for review. |
Co-authored-by: Eric Cheng <[email protected]>
|
Read for review |
|
Looks good to me, but I think let's wait till after 10.2.0 is released to merge it. Then this as well as the follow on locale changes can be part of 10.3.0. |
|
Thanks for the input @matthewmayer 👍 |
Fixes #3058
genericprefixes #3058Next steps: #3266
Meeting-Notes: 2024-11-07
This PR tries to lay the foundation of what is considered generic and what is specifically sexed:
Dr.)Mrs./Mr.)It also changes the way how definitions are selected:
Please check whether the definitions/jsdoc are clear regarding their intentions and if you consider this definition to be correct.
We will clean up the locale data in separate PRs as this might affect lots of files/locales.