[Multiple-Profile]feat:profile name validation#20698
[Multiple-Profile]feat:profile name validation#20698mikehardy merged 2 commits intoankidroid:mainfrom
Conversation
401a9ac to
a909e35
Compare
| profileRegistry.saveProfile(newProfileId, metadata) | ||
|
|
||
| Timber.i("Created new profile: $displayName (${newProfileId.value})") | ||
| Timber.i("Created new profile: ${displayName.value} (${newProfileId.value})") |
There was a problem hiding this comment.
Prefer .toString on the class
david-allison
left a comment
There was a problem hiding this comment.
Looks great!
ValidationResult is a good abstraction only if you plan to expose these results, I think it's the right call here
mikehardy
left a comment
There was a problem hiding this comment.
This seems fine but...
- would obsolete #20653 if merged as it contains that commit but isn't marked as doing so I don't think?
- is to address a valid PR comment from Brayan on that PR, and seemingly nothing else ?
So, I'm thinking the second commit should be on that PR there, and should have been developed there ?, as it's cohesive with the PR comment on that PR?
Either way, this combination of two commits LGTM, that's just PR bookeeping and things like that are velocity killers. But in future I think keep PR work cohesive if it's specifically to address feedback keep it in same PR
small commits are glorious though :)
|
I am aware of the reason for the conflict since I just reviewed the PR that caused it, I'm pulling this locally for fixup+validation and will repush if it passes good checkpoint anyway as it'll be tested locally rebased to main and I've merged quite a few PRs, I want to run local validation periodically with rebases anyway... |
- test: unit test for renaming method
|
indeed - was the hunk I was pretty sure would collide, trivial resolution, local verification working now |
a909e35 to
6fb5daa
Compare
Purpose / Description
Profile Name validation
Fixes
Approach
NA
How Has This Been Tested?
Unit test
Learning (optional, can help others)
NA
Checklist
Please, go through these checks before submitting the PR.