-
-
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
fix(internet): username method to return value that always includes… #2506
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