spring-data-rest icon indicating copy to clipboard operation
spring-data-rest copied to clipboard

DATAREST-2087 Add support of path on RepositoryRestController

Open yyvess opened this issue 4 years ago • 7 comments

Fix #2087

Add a field "path/value" on the annotation @RepositoryRestController to be able to set a root path at class level.

yyvess avatar Nov 19 '21 08:11 yyvess

@yyvess Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

pivotal-cla avatar Nov 19 '21 08:11 pivotal-cla

@yyvess Thank you for signing the Contributor License Agreement!

pivotal-cla avatar Nov 19 '21 08:11 pivotal-cla

@RequestMappig supports an array of paths so I believe we should do the same for @RepositoryRestController

alienisty avatar Nov 22 '21 06:11 alienisty

Hope this gets merged soon been a long time . For now we had to do a lot of refactor to avoid this in our latest migration :|

gauravbrills avatar May 27 '22 21:05 gauravbrills

can we please triage this

abtabhi avatar Jun 02 '22 00:06 abtabhi

We are definitely running into this issue as well, and we have a ton of AbstractControllers with a lot of methods that we inherit. Gettting this fix into the 2.7.x line of Spring Boot would be extremely helpful.

zampettim avatar Jun 15 '22 12:06 zampettim

Commit of this PR was cherry-pick to main branch (Spring data version 4.0.0-M5)

yyvess avatar Aug 04 '22 12:08 yyvess

Merged by cherry-pick

yyvess avatar Oct 21 '22 05:10 yyvess