-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
[BUG]: SerializeAsync throws when serializing nullable decimal #465
Comments
In 4.22.0, the Datafield.IsNullable was set to True for decimal? properties and those fields where exported as null in the files if the value was null. There seem to be missing test cases for nullable decimals.
|
Thanks for raising this, seems to be regression after adding support for class fields. Just fixing and adding test coverage. |
Fixed in the latest hotfix, feel free to try ;) |
@aloneguid |
Thanks, that seems to be happening to all types that can have custom attributes. I have no idea how it worked before ;) |
Possibly related to my issue: #467 |
Hi, I can confirm that nullable decimal now works, but I also have problems with DateTime. |
I added a preview PR here : #468 |
other types are fixed in the latest release too :) |
Thanks @aloneguid! |
Thanks @aloneguid - it now works as expected. |
Just encountered this issue with Timespan
|
Library Version
4.23.0
OS
Windows/Linux
OS Architecture
64 bit
How to reproduce?
The following code throws exception when version 4.23.0 or larger is used.
Exception:
Stacktrace:
Failing test
The text was updated successfully, but these errors were encountered: