Skip to content
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

On Java 8, link templates to search resources using pagination contain pageable variable [DATAREST-699] #1020

spring-projects-issues opened this issue Nov 6, 2015 · 0 comments


Copy link

@spring-projects-issues spring-projects-issues commented Nov 6, 2015

Oliver Drotbohm opened DATAREST-699 and commented

When using Java 8 with parameter name discovery added, the links pointing to search methods using a Pageable contain a pageable URI template variable. This is caused by the RepositoryMethodResourceMapping only dropping parameters without names (assuming Pageable and Sort were never annotated with @Param).

We should explicitly exclude parameters of these types from being exposed as explicit search method parameters

Affects: 2.3.2 (Fowler SR2), 2.4 GA (Gosling)

Backported to: 2.4.1 (Gosling SR1), 2.3.3 (Fowler SR3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants