Closed
Description
Oliver Drotbohm opened DATACMNS-845 and commented
From the original ticket in Spring HATEOAS:
Sometimes we cannot have information such as the total elements and total pages of a request, that's where we're using a
Slice
instead of aPage
. But thePagedResourcesAssembler
does not allow to convert aSlice
to aResource
. It would be great to add atoResource(Slice<T> entity)
method, or even addSlicedResourcesAssembler
class.
Reference URL: spring-projects/spring-hateoas#443
2 votes, 4 watchers