refactor(types): rename locale definition types to singular#2058
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## next #2058 +/- ##
==========================================
- Coverage 99.59% 99.59% -0.01%
==========================================
Files 2567 2567
Lines 243357 243388 +31
Branches 1254 1251 -3
==========================================
+ Hits 242383 242412 +29
- Misses 947 949 +2
Partials 27 27
|
|
Especially |
|
We should decide this before releasing v8.0 |
I vote for singular |
|
@xDivisionByZerox What do you think is the better option? |
|
I prefer the singular variant ( You could say that the object, represented by the type, is a collection of keys - similar to a Thats at least how I see it. |
184c3b8 to
671790d
Compare
|
Changed to singular |
|
If this is considered a breaking change then it should be mentioned in migration guide. |
No, it is not because the old aliases are still exported. |
Rename:
LocaleDefinition->LocaleDefinitionsLocaleEntry->LocaleCategoryDefinitions(cause it is only for categories)I'm not sure about the new names and whether we should use singular or plural names for these.