Closed thomdreilly closed 1 year ago
The single-argument variant of tombstoneStream and the multiple-argument variant behave differently, as the softDelete flag is set to true in the former case, and false in the latter.
https://github.com/EventStore/EventStoreDB-Client-Java/blob/2189f6bd17289b40fad8784ece2b2e75512750f2/db-client-java/src/main/java/com/eventstore/dbclient/EventStoreDBClient.java#L340
I believe this line has a typo and should actually be: return this.tombstoneStream(streamName, DeleteStreamOptions.get());
return this.tombstoneStream(streamName, DeleteStreamOptions.get());
@thomdreilly Thanks for opening the issue and nice catch!
The single-argument variant of tombstoneStream and the multiple-argument variant behave differently, as the softDelete flag is set to true in the former case, and false in the latter.
https://github.com/EventStore/EventStoreDB-Client-Java/blob/2189f6bd17289b40fad8784ece2b2e75512750f2/db-client-java/src/main/java/com/eventstore/dbclient/EventStoreDBClient.java#L340
I believe this line has a typo and should actually be:
return this.tombstoneStream(streamName, DeleteStreamOptions.get());