I have a interface in C# with method with this return type:
Task<(Guid, int)?>
I need to implement this interface in F# and if I am not mistaken this should be equivalent in F#:
Task<Nullable<ValueTuple<Guid, int>>>
Unfortunately when I compile I get this message:
generic construct requires that the type 'struct (Guid * int)' have a public default constructor
I have found some similar questions and looks like solution is usage of [<CLIMutable>]
attribute. But that's not something what I can do with System.ValueTuple. Is there a way to use Nullable ValueTuple in F#?