Skip to content

Commit

Permalink
Fix/update FsCheck/FSharp.Core
Browse files Browse the repository at this point in the history
  • Loading branch information
bartelink committed Jul 26, 2023
1 parent 4de9bca commit 3a54ff1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Propulsion.CosmosStore/ReaderCheckpoint.fs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module Fold =
| Events.Started { config = cfg; origin=originState } -> Running { config = cfg; state = originState }
| Events.Updated e | Events.Checkpointed e | Events.Overrode e -> Running { config = e.config; state = e.pos }
| Events.Snapshotted runningState -> Running runningState
let fold : State -> Events.Event seq -> State = Seq.fold evolve // Leave as Seq cor interop with V3
let fold: State -> Events.Event seq -> State = Seq.fold evolve // NOTE Leave as Seq for interop with COSMOSV3

let isOrigin _state = true // we can build a state from any of the events and/or an unfold

Expand Down
3 changes: 2 additions & 1 deletion src/Propulsion/Propulsion.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
<ItemGroup>
<PackageReference Include="MinVer" Version="4.2.0" PrivateAssets="All" />

<PackageReference Include="FSharp.Core" Version="6.0.0" />
<!-- Exclude FSharp.Core.xml due to temporarly malformed state -->
<PackageReference Include="FSharp.Core" Version="6.0.0" ExcludeAssets="contentfiles" />

<PackageReference Include="FsCodec" Version="3.0.0-rc.10" />
<PackageReference Include="MathNet.Numerics" Version="4.15.0" />
Expand Down
4 changes: 2 additions & 2 deletions tests/Propulsion.Tests/Propulsion.Tests.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="FsCheck.Xunit" Version="2.16.5" />
<PackageReference Include="FsCheck.Xunit" Version="3.0.0-rc1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<!-- Pin requirement for at least 6.0.6 in one of the tests by requesting same as Propulsion.DynamoStore will require-->
<PackageReference Include="FSharp.Core" Version="6.0.7" />
<PackageReference Include="FSharp.Core" Version="6.0.7" ExcludeAssets="contentfiles" />
<PackageReference Include="unquote" Version="6.1.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
Expand Down

0 comments on commit 3a54ff1

Please sign in to comment.