DateOnly passing to JSRuntime no longer supported in Blazor 6.0.0-rc.1 #36631
Labels
area-blazor
Includes: Blazor, Razor Components
feature-blazor-jsinterop
This issue is related to JSInterop in Blazor
✔️ Resolution: Duplicate
Resolved as a duplicate of another issue
investigate
Status: Resolved
Milestone
Describe the bug
System.Text.Json.Serialization.JsonConverter throws an exception when a DateOnly value is passed to JSRuntime in Blazor. The error occurs with 6.0.0-rc.1, but this worked in 6.0.0-preview.7.
Could be a bug or could be expected behavior, I'm not sure.
To Reproduce
Pass a DateOnly value to the JSRuntime in Blazor:
Exceptions (if any)
Further technical details
The text was updated successfully, but these errors were encountered: