Skip to content

Comments

fix(state): handle partial pagination with object mapper#7769

Merged
soyuka merged 1 commit intoapi-platform:4.2from
soyuka:partial-pagination-mapper
Feb 17, 2026
Merged

fix(state): handle partial pagination with object mapper#7769
soyuka merged 1 commit intoapi-platform:4.2from
soyuka:partial-pagination-mapper

Conversation

@soyuka
Copy link
Member

@soyuka soyuka commented Feb 17, 2026

Q A
Branch? main
Tickets
License MIT
Doc PR

ObjectMapperProvider only handled PaginatorInterface, but ODM's PartialPaginator implements PartialPaginatorInterface which doesn't extend PaginatorInterface, causing mapping to fail on the paginator object itself.

| Q             | A
| ------------- | ---
| Branch?       | main
| Tickets       | ∅
| License       | MIT
| Doc PR        | ∅

ObjectMapperProvider only handled PaginatorInterface, but ODM's
PartialPaginator implements PartialPaginatorInterface which doesn't
extend PaginatorInterface, causing mapping to fail on the paginator
object itself.
@soyuka soyuka force-pushed the partial-pagination-mapper branch from 2872315 to cce3a9e Compare February 17, 2026 09:01
@soyuka soyuka merged commit 0f025e8 into api-platform:4.2 Feb 17, 2026
129 of 130 checks passed
@soyuka soyuka deleted the partial-pagination-mapper branch February 17, 2026 09:18
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.

1 participant