Skip to content
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

Implement (Un-)marshalText for Decimal and NullDecimal #1380

Merged
merged 1 commit into from
Apr 20, 2024

Conversation

MJacred
Copy link
Contributor

@MJacred MJacred commented Apr 19, 2024

UnmarshalText is required for parsing a text/csv file. Without, the code uses decimal directly and ends in a nil pointer exception because decimal.Big is nil on scan

@MJacred
Copy link
Contributor Author

MJacred commented Apr 19, 2024

@stephenafamo, please have a look. Thanks!

@MJacred MJacred changed the title Implement UnmarshalText for Decimal and NullDecimal Implement (Un-)marshalText for Decimal and NullDecimal Apr 19, 2024
@stephenafamo stephenafamo merged commit 20df20a into volatiletech:master Apr 20, 2024
2 checks passed
@MJacred MJacred deleted the feature/unmarshal_text branch April 23, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants