Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/fsharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 8 additions & 0 deletions docs/mdsource/fsharp.source.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
7 changes: 4 additions & 3 deletions src/FSharpTests/FSharpTests.fsproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<GenerateProgramFile>false</GenerateProgramFile>
<LangVersion>preview</LangVersion>
</PropertyGroup>
<ItemGroup>
<Compile Include="Tests.fs" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0" />
<PackageReference Include="Argon.FSharp" Version="0.7.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" PrivateAssets="all" />
<ProjectReference Include="..\Verify.Xunit\Verify.Xunit.csproj" />
<ProjectReference Include="..\Verify\Verify.csproj" />
<PackageReference Update="FSharp.Core" Version="7.0.300" />
<PackageReference Update="FSharp.Core" Version="7.0.200" />
</ItemGroup>
<Import Project="$(ProjectDir)..\Verify\buildTransitive\Verify.props" />
<Import Project="$(ProjectDir)..\Verify\buildTransitive\Verify.targets" />
Expand Down
2 changes: 1 addition & 1 deletion src/Verify/Verify.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<PackageReference Include="ConfigureAwait.Fody" Version="3.3.2" PrivateAssets="All" />
<PackageReference Include="Fody" Version="6.7.0" PrivateAssets="All" />
<PackageReference Include="SimpleInfoName" Version="2.1.1" />
<PackageReference Include="Argon" Version="0.7.0" />
<PackageReference Include="Argon" Version="0.7.1" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" Condition="$(Configuration) == 'Release'" />
<PackageReference Include="ProjectDefaults" Version="1.0.90" PrivateAssets="all" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" Condition="$(TargetFramework.StartsWith('net46'))" />
Expand Down