-
Notifications
You must be signed in to change notification settings - Fork 7
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
BAU: refactor account management request objects to records #5339
base: main
Are you sure you want to change the base?
Conversation
ced1e94
to
7a5410c
Compare
6a9c331
to
090ca63
Compare
Quality Gate passedIssues Measures |
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.
Looks generally good to me! lovely line count removal too :-D One question / comment in there, but otherwise LGTM. I think because the account management api isn't exercised in acceptance tests, we should probably do a cautious test of some account management stuff in staging before we let it go to prod, but I think should all be fine.
this.existingEmailAddress = existingEmailAddress.toLowerCase(); | ||
this.replacementEmailAddress = replacementEmailAddress.toLowerCase(); | ||
this.existingEmailAddress = | ||
existingEmailAddress != null ? existingEmailAddress.toLowerCase() : null; |
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.
Is there any particular reason we added this null check in here? (Thoughts being I'd rather not have assumptions that things could be null, and if we didn't need it before I'd be anti adding it in now. I'd rather use optionals in all nullable cases)
26efbd0
to
cff3e85
Compare
What
BAU: refactor account management request objects to records
How to review