Skip to content

Support Slice in the PagedResourcesAssembler #443

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
anthony-foulfoin opened this issue Apr 5, 2016 · 1 comment
Closed

Support Slice in the PagedResourcesAssembler #443

anthony-foulfoin opened this issue Apr 5, 2016 · 1 comment
Assignees

Comments

@anthony-foulfoin
Copy link

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.

@odrotbohm odrotbohm self-assigned this Apr 12, 2016
@odrotbohm
Copy link
Member

That needs to go into Spring Data Commons actually as this is where PagedResourcesAssembler lives. I've created DATACMNS-845 for that.

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

No branches or pull requests

2 participants