Skip to content

Support Slice in the PagedResourcesAssembler #443

Closed
@anthony-foulfoin

Description

@anthony-foulfoin

Hi,

Sometimes we cannot have informations such as the total elements and total pages of a request, that's where we're using a Slice instead of a Page.
But the PagedResourcesAssembler does not allows to convert a Slice to a Resource, it would be great to add a toResource(Slice<T> entity) method, or even add SlicedResourcesAssembler class.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions