Skip to content

Refactor ClientBase.ExecuteRequestAndFollowLinksAsync<T>(Uri uri) to use IAsynEnumerable #2

@HowardvanRooijen

Description

@HowardvanRooijen

ClientBase.ExecuteRequestAndFollowLinksAsync<T>(Uri uri) currently hides the underlying paginated FreeAgent HTTP API - this is due to the fact that for most of our scenarios (analytical) we want all of the results. This is handled inside this API.

We should refactor this to return an IAsyncEnumerable to better characterise the nature of the underlying API, but this is a significant, and viral breaking change, and would require refactoring the entire application stack.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions