spring-projects / spring-projects/spring-data-rest
Expose ManyToOne relations from composite key in _links?
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 958
- Forks
- 568
- PR merge metrics
- No merged PRs in 30d
Description
I have an Embeddable composite key consisting of two ManyToOne relations.
Currently they are exposed as one self href item resource link.
Is it possible to additionally expose each ManyToOne relation as a separate item resource link in the _links section?
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.
Research direction
Start by reproducing the reported Embeddable composite key with two ManyToOne relations and inspect the current _links output, which exposes one self href item resource link. Determine the expected separate item resource links for each relation; done means the requested links are exposed consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100