-
Notifications
You must be signed in to change notification settings - Fork 490
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
model: correct the usage of json.Unmarshal in DecodeArgs #890
Conversation
Codecov Report
@@ Coverage Diff @@
## master #890 +/- ##
==========================================
- Coverage 78.32% 78.30% -0.02%
==========================================
Files 40 40
Lines 14708 14716 +8
==========================================
+ Hits 11520 11524 +4
- Misses 2505 2507 +2
- Partials 683 685 +2 |
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 add a test case to ascertain this behavior?
Rest LGTM
@kennytm The existing test case already covered |
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.
LGTM
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.
LGTM
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.
LGTM
/run-build-integration |
cherry pick to release-2.1 failed |
cherry pick to release-3.0 failed |
cherry pick to release-3.1 failed |
cherry pick to release-4.0 failed |
/run-cherry-picker |
cherry pick to release-2.1 failed |
cherry pick to release-3.0 failed |
cherry pick to release-3.1 failed |
cherry pick to release-4.0 failed |
Co-authored-by: Jack Yu <[email protected]>
What problem does this PR solve?
Fixed #889
What is changed and how it works?
Using
json.Decoder
is more complex.Check List
Tests
Side effects