Skip to content

Document current_page_url on SimplePaginator JSON - #625

Open
omerbaflah wants to merge 1 commit into
laravel:0.xfrom
omerbaflah:docs/pagination-current-page-url
Open

omerbaflah wants to merge 1 commit into
laravel:0.xfrom
omerbaflah:docs/pagination-current-page-url

Conversation

@omerbaflah

Copy link
Copy Markdown

The pagination guide listed the fields SimplePaginator omits from JSON, but not current_page_url, which only the simple page serializer includes.

SimplePaginator's Serialize impl in crates/database/src/pagination/mod.rs writes current_page_url, and tests/pagination.rs asserts it on simple_paginate.

The pagination guide listed the fields SimplePaginator omits from JSON, but not current_page_url, which only the simple page serializer includes.
@omerbaflah
omerbaflah force-pushed the docs/pagination-current-page-url branch from f519961 to 93ab26a Compare December 4, 2026 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants