Skip to content

Commit c5d8123

Browse files
author
Jamil Maqdis Anton
committed
Change to Id to StreamMessageId and add qualified access to it
1 parent e94db4f commit c5d8123

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Append.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ namespace SqlStreamStore.FSharp
33
open SqlStreamStore.Streams
44

55
module Append =
6-
let private stringIdToGuid: Id -> System.Guid =
6+
let private stringIdToGuid: StreamMessageId -> System.Guid =
77
function
8-
| Custom guid -> guid
9-
| Auto -> System.Guid.NewGuid()
8+
| StreamMessageId.Custom guid -> guid
9+
| StreamMessageId.Auto -> System.Guid.NewGuid()
1010

1111
let private newStreamMessageFromMessageDetails: MessageDetails -> NewStreamMessage =
1212
fun msg ->

0 commit comments

Comments
 (0)