Skip to content

PagedResourcesAssembler should add self link to resources [DATACMNS-418] #886

@spring-projects-issues

Description

@spring-projects-issues

Oliver Drotbohm opened DATACMNS-418 and commented

The PagedResourcesAssembler currently does not add a self link to the resource. With the LinkTemplate abstraction recently introduced in Spring HATEOAS we could create a templated link that hints to the existence of the pagination parameters.

Also, PagedResourcesAssembler currently ignores any qualifiers on controller methods, even if it is injected into the controller method directly. The corresponding HandlerMethodArgumentResolver instance could actually create a dedicated PagedResourceAssembler instance that is aware of the Pageable method parameter it adheres to and thus correctly qualify the parameters if necessary


No further details from DATACMNS-418

Metadata

Metadata

Assignees

Labels

in: webIntegration with Spring MVCtype: enhancementA general enhancement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions