-
Notifications
You must be signed in to change notification settings - Fork 101
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 reading bool value using compact protocol #153
Conversation
@reisub, It will cover your contributions to all Microsoft-managed open source projects. |
Codecov Report
@@ Coverage Diff @@
## master #153 +/- ##
============================================
+ Coverage 65.45% 65.48% +0.02%
- Complexity 931 932 +1
============================================
Files 88 88
Lines 4806 4806
Branches 561 561
============================================
+ Hits 3146 3147 +1
Misses 1423 1423
+ Partials 237 236 -1
Continue to review full report at Codecov.
|
@reisub, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request. |
Excellent catch - thanks for the fix! Would you mind including the thrift change you made to Xtruct as well, so we don't lose it if/when we ever regenerate it? |
@benjamin-bader done in 8840ab3, though I'm not sure which exact file you wanted changed since there are none in the |
Perfect. There's no one file, sadly - we seem to have overlooked automating generating this file, probably because it is done so infrequently. I think this would only be the second version. I'm comfortable calling the integration-test file the "source of truth" here. |
Merged - thanks again! |
We came across an issue in deserializing a bool value using compact protocol - the value always comes out false.
This PR modifies the test so that it catches this bug and fixes it.