Skip to content

Commit e94db4f

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

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/Types.fs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
namespace SqlStreamStore.FSharp
22

3+
[<RequireQualifiedAccessAttribute>]
4+
type StreamMessageId =
5+
| Custom of System.Guid
6+
| Auto
7+
38
type MessageDetails =
4-
{ id: Id
9+
{ id: StreamMessageId
510
type_: string
611
jsonData: string
712
jsonMetadata: string }
813

9-
and Id =
10-
| Custom of System.Guid
11-
| Auto
1214

1315
[<RequireQualifiedAccessAttribute>]
1416
type AppendVersion =
@@ -38,4 +40,4 @@ type AppendException =
3840
[<RequireQualifiedAccessAttribute>]
3941
type ReadingDirection =
4042
| Forward
41-
| Backward
43+
| Backward

0 commit comments

Comments
 (0)