You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for submitting the feature request - we will consider it in a future platform enhancement release.
In the meantime, we have updated our documentation to reflect that DateOnly is currently not supported.
Describe the feature.
Add the ability to serialize
DateOnly
(andTimeOnly
) to and from XML.Is your feature related to a problem? Please describe.
The
XmlSerializer
will happily writeDateOnly
to XML by callingToString()
(not an ISO format).The receiving end then crashes with an exception:
Thrown from this code:
NServiceBus/src/NServiceBus.Core/Serializers/XML/XmlDeserialization.cs
Line 490 in 16511c5
Describe the requested feature
Serialize
DateOnly
toyyyy-MM-dd
Describe alternatives you've considered
DateTime
, but time zones scare mestring
and parse theDateOnly
myself, thanks but no thanksAdditional Context
No response
The text was updated successfully, but these errors were encountered: