-
Notifications
You must be signed in to change notification settings - Fork 48
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
feat: ADR-009: Make MsgSaveProfile DTag optional #651
Conversation
Avoid DTag override
Codecov Report
@@ Coverage Diff @@
## master #651 +/- ##
===========================================
- Coverage 84.23% 15.69% -68.55%
===========================================
Files 91 168 +77
Lines 6624 45944 +39320
===========================================
+ Hits 5580 7211 +1631
- Misses 833 38117 +37284
- Partials 211 616 +405
Continue to review full report at Codecov.
|
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.
Overall looks good to me, but I think there should be a test in msgServer.SaveProfile
to confirm that Updating a profile with DTag [do-not-modify]
does not update its value and returns no error.
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.
Overall looks good. I agree with @dadamu that it appears there are some tests missing, particularly those with UpdateProfile
. Also, linting is failing right now
added test case to ensure that DTag are not edited if DoNotModify placeholder is passed
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.
Can you please add a test case (if necessary) to the TestProfile_Update
function as well? If you think it's not necessary then it's ok
This test should be enough and match what you've asked |
let update the other fields without error. Fixed tests
@bragaz Please add the missing changeset entry |
.changeset/entries/8f358ce606a7860f173d61469d97fea4b8559b3eca47f1f8ea590abedc90e88f.yaml
Outdated
Show resolved
Hide resolved
…7f1f8ea590abedc90e88f.yaml
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.
👍
Description
This PR implements what's described inside ADR-009.
Closes: #622 .
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change