-
Notifications
You must be signed in to change notification settings - Fork 477
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
Add a template variables contribution SPI #1312
base: main
Are you sure you want to change the base?
Conversation
996df75
to
2884cf4
Compare
2884cf4
to
af4ea49
Compare
Hello? |
Ping :) |
Is there something I can do to ease the merge of this fix? |
# Conflicts: # src/main/java/org/springframework/hateoas/server/core/WebHandler.java # src/main/java/org/springframework/hateoas/server/mvc/WebMvcLinkBuilderFactory.java
Hello? |
Me again :) |
Hello, The underlying issue (#706) seems critical for anyone hopping to use hypermedia pagination with filtering criteria. Please help me fix this issue upstream 🙏 |
# Conflicts: # src/main/java/org/springframework/hateoas/server/mvc/WebMvcLinkBuilderFactory.java # src/test/java/org/springframework/hateoas/server/mvc/WebMvcLinkBuilderFactoryUnitTest.java
up 😭 |
2e02d7a
to
856b6b9
Compare
# Conflicts: # src/main/java/org/springframework/hateoas/server/core/WebHandler.java # src/main/java/org/springframework/hateoas/server/mvc/WebMvcLinkBuilderFactory.java
Merge conflict fixed |
Still waiting for feedback ;( |
@odrotbohm , @gregturn is there a reason related to the proposed change explaining why I have had no feedback for 3 years? |
Because of this, I have been dragging 2 forks on production for 3 years through all Spring major versions. One for this project, the other for spring-projects/spring-data-commons#2168 . |
Not at all, except that it somehow has slipped our radar. From a quick glance at the SD Commons issue I can tell, that, generally speaking, as of SD 2.0, I'll investigate on Tuesday but can also say that the absence of pagination information in an original request is properly handled by, for example, Spring Data REST. That makes me doubt that we have a fundamental problem which needs a fork to make that work. But then again, I might be wrong of course. Expect some judgement on the overall situation soon. And again: sorry for the delay and thanks for your patience. |
From what I read around https://github.com/spring-projects/spring-data-rest/blob/e9c43f1373b68c31c14985e189e31ad0a0af31e1/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/RepositoryEntityLinks.java#L122, that would be because Spring Data REST doesn’t use |
Hello @odrotbohm , Could you find time to take a look at this? 🙏 |
@odrotbohm sorry to bother you again with this 🥹 |
I am travelling this week but will make sure I'll have a look ASAP. |
@odrotbohm please don't hate me for pinging you so much 🙏 |
@odrotbohm ping 🫣 |
Reda, this is not helpful. I wrote ASAP. There's other stuff we're busy with. Furthermore, as this will be a significant change and like causes downstream effects on projects like Spring Data REST, we can only ship this in a minor version cycle. I.e., the first milestone version this can reasonably go out in will come mid-July, GA in autumn. Thanks for understanding. |
I understand Oliver. Thank you for providing those details. I’ll keep syncing my forks until then 🙂 |
A little reminder 🫣 |
5828e78
to
e643c37
Compare
Add a template variables contribution SPI to resolve issues such as #706
This is also a first step (in a 2 steps process) to treat spring-projects/spring-data-commons#2168