DateOnly is not correctly handled by activity function #2009
Labels
Needs: Author Feedback
Waiting for the author of the issue to respond to a question
no-recent-activity
Description
NET6 introduced a
DateOnly
type. Passing it as input to an activity function or returning it from it is not correctly handled.Expected behavior
The DateOnly input to and output from an activity function should be recognised correctly.
Actual behavior
DateOnly.MinValue is used.
Relevant source code snippets
CSPROJ
REPRO
DEMO
Known workarounds
NET6 System.Text.Json Serializer does not yet support DateOnly, there is a workaround using a custom converter. Is there any way we can inject something like this into Durable Functions?
The text was updated successfully, but these errors were encountered: