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
That's a curious issue, thank you for bringing it up! Unfortunately, I don't have a lot of knowledge about WASM and only a net8 project around where I cannot reproduce it. At least you already found a workaround, great!
Net 6.0 will run out of support soon anyway, I hope you can jump to net8 too. There are some nice improvements that you get by using net8 and the latest FSharp.Core in your own project (even FSharp.Data.Adaptive has been built with net6 and an old FSharp.Core).
Issue
I am using dotnet 6 blazor WASM, in developing mode it works fine. But when publish in release mode, I got exception at runtime.
I did some investigation, it looks like at
FSharp.Data.Adaptive/src/FSharp.Data.Adaptive/ShallowEquality.fs
Line 307 in e8f3c29
It will try to find DateTime's field _dateData (UInt64) for method of ShallowEqualityComparer[UInt64].ShallowEquals, but cannot find it.
By the way, I also tried with dotnet 8, it works fine.
Workaround
I can define below code in my own application to avoid this:
Exception detail:
The text was updated successfully, but these errors were encountered: