Skip to content

Commit a8a9927

Browse files
wataruoguchioskardudycz
authored andcommitted
[#fix] Pass handleOptions to 'read' which is consumed by readStream
1 parent c1f0d45 commit a8a9927

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/packages/emmett/src/commandHandling/handleCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ export const CommandHandler =
114114
evolve,
115115
initialState,
116116
read: {
117+
...(handleOptions ? handleOptions : {}),
117118
// expected stream version is passed to fail fast
118119
// if stream is in the wrong state
119120
expectedStreamVersion:

0 commit comments

Comments
 (0)