Skip to content

feat: add pagination support with sync and async iterable paginators #457

feat: add pagination support with sync and async iterable paginators

feat: add pagination support with sync and async iterable paginators #457

Triggered via pull request June 11, 2025 16:00
Status Success
Total duration 1m 12s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

48 warnings
Dotnet 6.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 6.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 6.0.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 6.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 6.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 6.0.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 3.1.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 3.1.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 3.1.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 3.1.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 3.1.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 3.1.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 3.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 3.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 3.0.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 3.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 3.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 3.0.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 5.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 5.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 5.0.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 5.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 5.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 5.0.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 2.2.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 2.2.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 2.2.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 2.2.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 2.2.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 2.2.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 2.1.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 2.1.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 2.1.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 2.1.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 2.1.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 2.1.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 7.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 7.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 7.0.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 7.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 7.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 7.0.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 2.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 2.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 2.0.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
Dotnet 2.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Dotnet 2.0.x on ubuntu-22.04: APIMatic.Core.Test/AuthenticationTest.cs#L141
The local function 'AuthCode' is declared but never used
Dotnet 2.0.x on ubuntu-22.04: APIMatic.Core/Pagination/AsyncPaginator.cs#L41
Async-iterator 'AsyncPaginator<TItem, TPageMetadata>.GetPagesAsync(CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed