diff --git a/docs/fsharp.md b/docs/fsharp.md index 00bebbece0..71bbe77574 100644 --- a/docs/fsharp.md +++ b/docs/fsharp.md @@ -7,6 +7,14 @@ To change this file edit the source file and then run MarkdownSnippets. # Usage in FSharp +Argon ships F# support in a separate nuget [Argon.FSharp](https://www.nuget.org/packages/Argon.FSharp/). + +To serialize F# types properly, add the converters: + +```fs +VerifierSettings.AddExtraSettings(fun settings -> settings.AddFSharpConverters()) +``` + ## NullValueHandling diff --git a/docs/mdsource/fsharp.source.md b/docs/mdsource/fsharp.source.md index 27e30cfc72..008afd8d92 100644 --- a/docs/mdsource/fsharp.source.md +++ b/docs/mdsource/fsharp.source.md @@ -1,5 +1,13 @@ # Usage in FSharp +Argon ships F# support in a separate nuget [Argon.FSharp](https://www.nuget.org/packages/Argon.FSharp/). + +To serialize F# types properly, add the converters: + +```fs +VerifierSettings.AddExtraSettings(fun settings -> settings.AddFSharpConverters()) +``` + ## NullValueHandling diff --git a/src/FSharpTests/FSharpTests.fsproj b/src/FSharpTests/FSharpTests.fsproj index 9022801939..0c0fe33b09 100644 --- a/src/FSharpTests/FSharpTests.fsproj +++ b/src/FSharpTests/FSharpTests.fsproj @@ -1,4 +1,4 @@ - + net8.0 false @@ -6,12 +6,13 @@ - + + - + diff --git a/src/Verify/Verify.csproj b/src/Verify/Verify.csproj index f66e4cfe3f..00691620ec 100644 --- a/src/Verify/Verify.csproj +++ b/src/Verify/Verify.csproj @@ -27,7 +27,7 @@ - +