-
Notifications
You must be signed in to change notification settings - Fork 28
π¨ web-api: patch userName
at least 4 chars β οΈ
#7389
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
π¨ web-api: patch userName
at least 4 chars β οΈ
#7389
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7389 +/- ##
==========================================
+ Coverage 85.65% 88.62% +2.96%
==========================================
Files 1709 1473 -236
Lines 66355 58787 -7568
Branches 1124 615 -509
==========================================
- Hits 56838 52098 -4740
+ Misses 9195 6518 -2677
+ Partials 322 171 -151
Continue to review full report in Codecov by Sentry.
π New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx_
There are a few existing usernames with only 2 or 3 characters, we might need to update them when we deploy this. |
@odeimaiz we can do so but just FYI in principle this PR only constraints the patch API. i.e. having these username in the database is still allowed because the |
userName
at least 4 charsuserName
at least 4 chars π¨
userName
at least 4 chars π¨userName
at least 4 chars β οΈ
Sure, but as discussed, these users would never be searchable |
ba91a9a
to
dfda292
Compare
|
What do these changes do?
userName
in the PATCH entrypoint, restricting front-end inputs to names longer than 3 characters.models-library
, while retaining tests covering domain-schema interactions inweb-server
.utils_user._generate_username_from_email
Related issue/s
How to test
Dev-ops
userName
at least 4 chars β οΈΒ #7389 (comment)