Skip to content

Conversation

@Spomky
Copy link

@Spomky Spomky commented Dec 6, 2025

Q A
Branch? 4.2
Tickets Closes #7590
License MIT
Doc PR none

This PR fixes the pagination and counter when object mapper is used.
To do so, a MappedObjectPaginator is added. It wraps the paginator (if any) returned by the decorated provider.

@Spomky Spomky changed the title bug(pagination): implement MappedObjectPaginator for fixing pagination on mapped data fix(pagination): implement MappedObjectPaginator for fixing pagination on mapped data Dec 6, 2025
@Spomky Spomky changed the title fix(pagination): implement MappedObjectPaginator for fixing pagination on mapped data fix(metadata): implement MappedObjectPaginator for fixing pagination on mapped data Dec 6, 2025
@Spomky Spomky force-pushed the bugs/broken-pagination branch from edd7299 to 0e24b3a Compare December 6, 2025 15:43
@soyuka soyuka merged commit 0ef0ba6 into api-platform:4.2 Dec 7, 2025
130 checks passed
@soyuka
Copy link
Member

soyuka commented Dec 7, 2025

Nice improvement thanks!

@Spomky Spomky deleted the bugs/broken-pagination branch December 7, 2025 12:23
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