Skip to content

Title: Feat: Implement Advanced Pagination and Filtering System - #406

Merged
Mkalbani merged 4 commits into
MindFlowInteractive:mainfrom
ustaxs:feat/filtering
Jul 28, 2026
Merged

Title: Feat: Implement Advanced Pagination and Filtering System#406
Mkalbani merged 4 commits into
MindFlowInteractive:mainfrom
ustaxs:feat/filtering

Conversation

@ustaxs

@ustaxs ustaxs commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Description:

This pull request introduces a comprehensive and reusable system for pagination, filtering, and sorting to efficiently handle large datasets. The implementation supports both traditional offset-based pagination and modern cursor-based pagination for improved performance and scalability.

Key Features:

  • Reusable Pagination Module: Created a new module at src/common/pagination containing generic DTOs (PageDto, PageMetaDto, PageOptionsDto) that can be used across the application.
    Closes Event Bus and Event-Driven Architecture #401

  • Offset & Cursor Pagination:
    Supports standard page and limit query parameters for offset pagination.
    Adds cursor support for efficient, stateless pagination over large or real-time datasets.
    Closes Message Queue and Job Processing System #402

  • Flexible Filtering & Sorting:
    Allows filtering results via a filter query parameter (e.g., ?filter=some_value).
    Enables single and multi-column sorting with direction control (e.g., ?sort=username:ASC).
    Closes Request Validation and Data Sanitization Framework #403

  • Implementation Example: The UsersModule has been refactored to use the new system, with the findAll endpoint in UsersController now accepting pagination, filtering, and sorting parameters.
    Closes Advanced Pagination and Filtering System #404

@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@ustaxs Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Mkalbani
Mkalbani merged commit fd2dd59 into MindFlowInteractive:main Jul 28, 2026
@grantfox-oss grantfox-oss Bot mentioned this pull request Jul 28, 2026
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants