We are using the method ReadStreamResult.MoveNextAsync() and the property ReadStreamResult.Current.
Those members disappeared from the ReadStreamResult class in the update 22.0.0.
What approach we should use as an replacement?
There is no word about this breaking change in the Chanelog.
You can call
result.GetAsyncEnumerator() to get the
IAsyncEnuemerator<T> API. Don’t forget to Dispose it, otherwise you may experience a resource leak on the server.
Alternatively, there is a property called
Messages on the result. You can see an example of how to use that here: https://github.com/EventStore/EventStore-Client-Dotnet/blob/v22.0.0/samples/reading-events/Program.cs#L54