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

@RepositoryRestResource.path should allow more than one path segment [DATAREST-1520] #1877

Open
spring-projects-issues opened this issue May 6, 2020 · 3 comments
Assignees
Labels

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented May 6, 2020

alienisty opened DATAREST-1520 and commented

When creating complex applications, it is useful to group paths related to common concerns, contexts, etc.

Say we have a module "foo" and I want to group all the resources under "foo", I should be able to specify the path as "foo/resource".

I don't see the reason for the current limitation, at least for @RepositoryRestResource


Affects: 3.3 RC2 (Neumann)

@brodziakm
Copy link

@brodziakm brodziakm commented Mar 25, 2021

I agree, this would be extremely useful, and don't understand why we need to limit ourselves to flat resources.

@odrotbohm
Copy link
Member

@odrotbohm odrotbohm commented Mar 25, 2021

Unfortunately that's not possible at the moment as the controllers handling the invocations use /{repository}/… as mapping segment and those are only mapped to single path segments.

@tayfunyasar
Copy link

@tayfunyasar tayfunyasar commented Apr 15, 2022

I checked old issues too, I've seen that, this feature request still up to date.

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

No branches or pull requests

4 participants