spring-projects / spring-projects/spring-hateoas
Feature request: enable UberData.extractContent to use @Relation itemRelation in adition to Class.getSimpleName
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 476
- PR merge metrics
- No merged PRs in 30d
Description
Right now UberData will use the class name for each item of a collection ignoring the @Resource(itemRelation="name").
"data": [
{
"name": "className",
"data": [ {...} ]
}, {
"name": "className",
"data": [ {...} ]
}
]
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start at UberData.extractContent and inspect how collection item names are derived from Class.getSimpleName and how @Relation(itemRelation="name") is represented. Done means collection items use the declared itemRelation when present while retaining the existing class-name behavior otherwise; no test file is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100