Skip to content

Add pagination to ListObjects()#41

Open
TopperDEL wants to merge 1 commit intomasterfrom
add-pagination
Open

Add pagination to ListObjects()#41
TopperDEL wants to merge 1 commit intomasterfrom
add-pagination

Conversation

@TopperDEL
Copy link
Owner

@TopperDEL TopperDEL commented Oct 28, 2024

Fixes #36

Add pagination support to ListObjects() method.

  • Add a new overload for ListObjectsAsync in IObjectService interface to take a 'Cursor'-value and a max entries parameter.
  • Update ListObjectsOptions class to include a MaxEntries property and update the ToSWIG method to include this property.
  • Implement the new overload for ListObjectsAsync in ObjectService class to handle the 'Cursor'-value and max entries parameter.
  • Update BucketContentViewModel class to use the new overload of ListObjectsAsync with 'Cursor'-value and max entries parameter.
  • Add a new test method in ObjectServiceTest to verify the new overload of ListObjectsAsync with 'Cursor'-value and max entries parameter.

For more details, open the Copilot Workspace session.

Fixes #36

Add pagination support to ListObjects() method.

* Add a new overload for `ListObjectsAsync` in `IObjectService` interface to take a 'Cursor'-value and a max entries parameter.
* Update `ListObjectsOptions` class to include a `MaxEntries` property and update the `ToSWIG` method to include this property.
* Implement the new overload for `ListObjectsAsync` in `ObjectService` class to handle the 'Cursor'-value and max entries parameter.
* Update `BucketContentViewModel` class to use the new overload of `ListObjectsAsync` with 'Cursor'-value and max entries parameter.
* Add a new test method in `ObjectServiceTest` to verify the new overload of `ListObjectsAsync` with 'Cursor'-value and max entries parameter.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/TopperDEL/uplink.net/issues/36?shareId=XXXX-XXXX-XXXX-XXXX).
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add pagination to ListObjects()

1 participant