-
Notifications
You must be signed in to change notification settings - Fork 66
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
fix: add support for updating an individual field with pojo in all update method #136
Conversation
Codecov Report
@@ Coverage Diff @@
## master #136 +/- ##
============================================
+ Coverage 71.56% 71.63% +0.06%
- Complexity 968 969 +1
============================================
Files 62 62
Lines 5202 5224 +22
Branches 579 579
============================================
+ Hits 3723 3742 +19
- Misses 1299 1302 +3
Partials 180 180
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.
Thanks @suraj-qlogic Can you add some tests to ensure that this fix is covering what is asked for in the original bug, and to ensure it doesn't accidentally get broken in the future.
@@ -191,6 +198,31 @@ public void setShortValue(@Nullable Short shortValue) { | |||
} | |||
} | |||
|
|||
public static class FooModel { |
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.
Do you mind re-using the SingleField example Pojo that exists in this class?
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.
Done
@BenWhitehead This looks good to me, but we should try to replace the FooModel usage with SingleField before merging. |
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.
Thanks, this LGTM.
Fixes #126