Skip to content

Commit

Permalink
Small adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoVIII committed May 19, 2021
1 parent 182cbe2 commit 8a2cf21
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ framework: net5.0, netstandard2.1, netstandard2.0

nuget Expecto
nuget FsCheck
nuget FSharp.Core 5.0.0
nuget Expecto.FsCheck
nuget NicoVIII.FSharp.Json prerelease

Expand Down
2 changes: 1 addition & 1 deletion paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ NUGET
FsCheck (>= 2.14.2)
FsCheck (2.14.3)
FSharp.Core (>= 4.2.3)
FSharp.Core (5.0.1)
FSharp.Core (5.0)
Mono.Cecil (0.11.3)
NicoVIII.FSharp.Json (0.5.0-rc.2)
FSharp.Core (>= 4.3.4)
Expand Down
4 changes: 3 additions & 1 deletion src/TypedPersistence/Json/Api.fs
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
namespace TypedPersistence.Json

open TypedPersistence.Core
open TypedPersistence.Json.Types

module Api =
let fsharpProvider =
{ new IPersistenceProvider<string> with
{ new IPersistenceProvider<Context> with
member _.getVersion context = getVersion context
member _.load<'a> context = load<'a> context
member _.save<'a> context object = save<'a> context object

member _.saveVersion<'a> context version object =
saveVersion<'a> context version object }

Expand Down
1 change: 1 addition & 0 deletions src/TypedPersistence/Json/paket.references
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
FSharp.Core
NicoVIII.FSharp.Json

0 comments on commit 8a2cf21

Please sign in to comment.