I use my F# Class Library in another C# project. The function I am calling returns an object like this:
type Item =
{ Title: string
Items: List<Item ref> }
The problem is that I when using it in C#, the Items property is of type List<FSharpRef<Item>>.
So the question is:
How can I convert it to List<Item> (in F#) without loosing the references to objects?
i.e. in cases when two Item objects have a reference to a third one inside their lists, they should refer to the same object in C#.