Open rudihorn opened 5 years ago
Questions I still have:
It's not a .NET Core issue.
I'd be tempted to just initialise as a seq or convert to that:
[ {|id=5; name = "hello"|} ] |> Seq.ofList |> Util.Table
but improving compatibility seems like a good idea too.
To confirm the implicit conversion works for explict records:
To confirm the implicit conversion works for explict records:
Yes this is what was confusing me about this. The conversion to a seq first works for me though.
Description
This seems to more be an F# bug related to a unification error with F# anonymous record types (possibly a dotnet restriction?).
Repro steps
Expected behavior
Table output
Actual behavior
Error message:
Known workarounds
Define it within a module:
Then call:
Related information