Skip to content

feat: add pagination metadata to response envelope (#2139) - #2272

Merged
Olowodarey merged 3 commits into
Arena1X:mainfrom
onye2224:feat/pagination-metadata-2139-fix
Nov 24, 2026
Merged

Olowodarey merged 3 commits into
Arena1X:mainfrom
onye2224:feat/pagination-metadata-2139-fix

Conversation

@onye2224

@onye2224 onye2224 commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Closes #2139


  • Add @paginated() decorator to opt endpoints into pagination metadata
  • Extend ResponseInterceptor to read isPaginated flag via Reflector and attach a pagination block { nextCursor, total? } to the envelope
  • nextCursor is null on the last page; non-paginated responses unchanged
  • Add 3 new tests covering opted-in response, last page, and plain response

- Add @paginated() decorator to opt endpoints into pagination metadata
- Extend ResponseInterceptor to read isPaginated flag via Reflector and
  attach a pagination block { nextCursor, total? } to the envelope
- nextCursor is null on the last page; non-paginated responses unchanged
- Add 3 new tests covering opted-in response, last page, and plain response
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
insight-arena-4rll Error Error Nov 24, 2026 8:55am UTC

@drips-wave

drips-wave Bot commented Nov 23, 2026

Copy link
Copy Markdown

@onye2224 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

@Olowodarey
Olowodarey merged commit 7952d7f into Arena1X:main Nov 24, 2026
2 of 6 checks passed

This branch had an error being deployed

1 failed deployment
Preview — bf0d88a8 Deployed Nov 24, 2026 by vercel[bot]
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.

[Backend] — Standard pagination metadata in response envelope

3 participants