Skip to content

fix:add pagination to get project follower endpoint#631

Merged
rhodinemma merged 1 commit intostagingfrom
fix/project-followers-with-pagination
Sep 25, 2025
Merged

fix:add pagination to get project follower endpoint#631
rhodinemma merged 1 commit intostagingfrom
fix/project-followers-with-pagination

Conversation

@CHRISTOPHERKADOGO
Copy link
Contributor

Description

This PR implements pagination for the project follower's endpoint to improve performance and user experience when dealing with projects that have large numbers of followers.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Trello Ticket ID

Please add a link to the Trello ticket for the task.
[Link to Trello ticket]

How Can This Be Tested?

Test Scenarios:

  1. **Basic Pagination Test: **
    GET /projects/{project_id}/following?page=1&per_page=5
    • Verify response contains exactly 5 followers (or fewer if total is less)
    • Check pagination metadata is correct

Copy link
Contributor

@rhodinemma rhodinemma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for this @CHRISTOPHERKADOGO

@rhodinemma rhodinemma merged commit a8446ce into staging Sep 25, 2025
2 checks passed
@rhodinemma rhodinemma deleted the fix/project-followers-with-pagination branch September 25, 2025 14:19
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.

2 participants