fix(internet): username method to return value that always includes…#2506
fix(internet): username method to return value that always includes…#2506ST-DDT merged 11 commits intofaker-js:nextfrom
Conversation
… last name if provided
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## next #2506 +/- ##
=======================================
Coverage 99.57% 99.57%
=======================================
Files 2805 2805
Lines 250069 250088 +19
Branches 1097 1097
=======================================
+ Hits 248996 249025 +29
+ Misses 1045 1035 -10
Partials 28 28
|
|
Sorry for the delay in review, we will look at it shortly. |
|
No worries. No rush, just a minor contribution - hope it helps |
|
One problem I see with the username method itself is that it produces very vage usernames that you might choose for private accounts. |
|
Companies don't always use FirstName.lastname anyway though At companies I have worked at there have been patterns like john.smith@ |
My point is that companies follow a more standardized approach to usernames than private persons do. |
|
I think using both FirstName and lastname when provided makes sense, but we could have more ways to combine them for greater variety eg More separators including empty string |
|
Team Decision
|
|
@amillwood Could you please fix the merge conflict? |
503e09e
|
Thanks for your contribution ❤️ |
Updated the username method to always return a value that includes the last name when provided.
Resolves #1000