spring-projects / spring-projects/spring-data-rest
Reducing amounts of hits [DATAREST-141]
@odrotbohm is already working on this.
Since Dec 31, 2020.
- Dominant language
- Java
- Stars
- 958
- Forks
- 568
- PR merge metrics
- No merged PRs in 30d
Description
Thomas Darimont opened DATAREST-141 and commented
Github Author: Swiip
Github Last-Updated: 2013-03-12T09:42:59Z
This issue was automatically imported from github
Hello,
This is more a question than a feature request or a bug but I thought it still can be the place to ask it (sorry if it's not).
I'm here as a standard Web developer making web sites with a Spring JSON API for backend. I discovered the Spring Data Rest project with great expectations because the most parts of all my servers code are always about publishing some CRUD api.
But since I test Spring Data Rest, I'm facing a problem: the number of server hits. I perfectly understand concepts of HATEOAS, urls, links and the concept of navigation in a REST API and I also appreciate it.
The problem I'm facing is that for some pages which present lots of data, I have to follow lots of links to get all I need and it can lead to hundreds of requests and it's just not possible. I searched but didn't find a way to resolve this question by configuration or anything else and it's currently blocking me to use Spring Data Rest in my projects. (perhaps something around cursom serializer, but I can't override everything)
Finally my question(s): am I missing something? is Spring Data Rest not designed for what I want to do with it?
And if I'm not missing something, can't you add some request parameter wich tell exporter to directly resolve some links?
I hope my question has not already be answered but if so, I didn't find it. I also hope my english is good enough to be understandable ;)
Thanks in advance.
Matthieu
Reference URL: https://api.github.com/repos/SpringSource/spring-data-rest/issues/82
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.