-
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
Turn DisableComments
field to enum and make it editable
#456
Conversation
DisableComments
field to enumDisableComments
field to enum and make it editable
update CHANGELOG.md fixed decoder_test.go error
Codecov Report
@@ Coverage Diff @@
## master #456 +/- ##
==========================================
+ Coverage 75.46% 84.00% +8.54%
==========================================
Files 94 91 -3
Lines 4537 4090 -447
==========================================
+ Hits 3424 3436 +12
+ Misses 966 505 -461
- Partials 147 149 +2
Continue to review full report at Codecov.
|
added a cli test
…eonardo/disable-comments-to-enum
@RiccardoM please let me know what's lowering the coverage because I can't see anything due to an error 400 |
@bragaz No idea how, but it's actually decreasing the coverage of 9.62% |
@RiccardoM The coverage errors was caused by uncovered CLI tests due to the staging phase of |
update CHANGELOG.md fixed decoder_test.go error
added a cli test
2045308
to
8d36487
Compare
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.
The implementation looks good. I just have some comments about the namings. Also please @bragaz make sure you pull the changes I've pushed to the branch since I had to force push in order to clear the history and make it linear
…m/desmos-labs/desmos into leonardo/disable-comments-to-enum � Conflicts: � x/staging/posts/types/posts.go
fixed tests and names around the code
…eonardo/disable-comments-to-enum
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Description
This PR turn the
posts
DisableComments
field from abool
to an enum type to better handle it and also open the possibility to edit it without any problem.Closes #445.
Closes #446.
Checklist
CHANGELOG.md
file.Files changed
in the Github PR explorer.