-
-
Notifications
You must be signed in to change notification settings - Fork 939
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
chore: define const of a type instead of type casting in generateLocales script #728
Conversation
Codecov Report
@@ Coverage Diff @@
## main #728 +/- ##
=======================================
Coverage 99.34% 99.34%
=======================================
Files 1924 1924
Lines 177022 177022
Branches 904 904
=======================================
Hits 175861 175861
Misses 1105 1105
Partials 56 56 |
This will be in v7 at the earliest as it definitely a breaking change. |
How come this is a breaking change? |
If we are strict about it, we loose like 20% of our locale data categories (Guestimated). |
And I would like to check each of them, whether they can be useful for us before deleting them. |
@pkuczynski I think we should change our definitions to be extensible like our base definitions: faker/src/definitions/definitions.ts Lines 54 to 58 in cc46a0c
That way we would get rid of the |
Will be superseded by #915. |
Go for it. I have super limited time at the moment :( |
Fixed in #915 . |
This will start catching issues with our locales definitions...
Check #729 listing the issues...