I think I found an error in your documentation in the "data pagination" section.
// users is of type `PaginationResult`
var users = query.Paginate(1, 10);
foreach(var user in users.Each)
{
Console.WriteLine($"Id: {user.Id}, Name: {user.Name}");
}
In this example, it means that we can iterate over the returned data.
But this example incorrect. In fact users.Each returns PaginationIterator<T> which has this enumerator:
I think I found an error in your documentation in the "data pagination" section.
In this example, it means that we can iterate over the returned data.
But this example incorrect. In fact
users.Each
returnsPaginationIterator<T>
which has this enumerator:Is this a mistake in the documentation, or am I just misunderstanding it?