Thoth.Json
Thoth.Json copied to clipboard
Check what happen when mixing manual and auto style when using DUs
type Temp = { Name : string; Age : int }
type SeveralArgumentDus2 = SeveralArgs2 of int * Temp
type SingleNoArguments = SingleNoArguments
type MyUnion = Foo of int
type SeveralArgumentDus = SeveralArgs of int * {| Name : string; Age : int |}
type SeveralArgumentDus3 =
| SeveralArgs3 of int * Temp
| CustomTest1 of string