Hochfrequenz / BO4E-dotnet

C# / .NET Core implementation of Business Objects for Energy (BO4E). Full Docs: https://hochfrequenz.github.io/bo4e-livedocs/api/BO4E.BO.html
https://hochfrequenz.de
MIT License
5 stars 4 forks source link

fix: when using `SET_INITIAL_DATE_IF_NULL` in STJ only set MinValue if JSON value is null and runtime type is not nullable (#600) #602

Closed hf-kklein closed 2 weeks ago

hf-kklein commented 2 weeks ago

fix: when using SET_INITIAL_DATE_IF_NULL in STJ only set MinValue if json value is not nullable

i think, this was the initial intention behind the converters? and there's no older/existing test that fails, so I think it's fine that way

note that this does NOT change the behaviour of the newtonsoft converters!

Co-authored-by: Konstantin konstantin.klein+github@hochfrequenz.de