a potential issue with next expected version

Hi,

I’m using the AppendToStreamAsync method to write some events. I’m passing in ExpectedVersion.NoStream. When looking at the WriteResult’s next expected version that is returned, I’m noticing that it is the same as I passed in, i.e -1.

Is this what I should be getting? I was under the impression that the expected version should be incremented, but perhaps I’m wrong!

I don’t get any exceptions, so am assuming the WriteResult is successful. This is using the embedded EventStore within unit tests.

Any help/pointers appreciated.

Kind regards

Sean.