-
Notifications
You must be signed in to change notification settings - Fork 31
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 math/big.Int Does not Marshal #194
Conversation
Thanks for contributing this! It looks like your change will make |
Good call. I removed the changes in type.go and it still marshalled correctly. I misinterpreted types.go. I reverted the changes to that file. Thanks! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #194 +/- ##
=========================================
Coverage ? 74.77%
=========================================
Files ? 25
Lines ? 4972
Branches ? 0
=========================================
Hits ? 3718
Misses ? 746
Partials ? 508 ☔ View full report in Codecov by Sentry. |
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. Thank you Jeff!
Thanks guys! |
What is the release schedule like? When is the next release normally tagged? |
I will create a new release by Monday. |
Thank you @tgregg |
This is intended to be a fix for #193. ion.MarshalText() returns "{}" for math/big.Int values.
Added BigIntType in type.go. Created func encodeBigInt() in marshal.go and added it to encodeStruct(). Also added unit tests for math/big.Int in marshal_test.go.