-
Notifications
You must be signed in to change notification settings - Fork 675
Open
Labels
bugIssues which are a software defectIssues which are a software defect
Description
Description
Dotnet GRPC client AppendToStreamAsync method is not throwing exception error when duplicated streams ids are created with same stream name and expected state is StreamState.NoStream,
instead of throwing, they are returning same log position number of already created stream.
this is not the expected behavior like is expected and documentation says:
When appending events to a stream, you can supply a stream state or stream revision. Your client uses this to inform EventStoreDB of the state or version you expect the stream to be in when appending an event. If the stream isn't in that state, an exception will be thrown.
To Reproduce
Steps to reproduce the behavior:
var streamStateNoStrem = StreamState.NoStream;
var cd = await client.AppendToStreamAsync(streamName, streamStateNoStrem, events, cancellationToken: cancellationToken);
var cd2 = await client.AppendToStreamAsync(streamName, streamStateNoStrem, events, cancellationToken: cancellationToken);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssues which are a software defectIssues which are a software defect