spring-projects / spring-projects/spring-hateoas
Provide a property creation context to `HalFormsOptionsFactory`
Open
@odrotbohm is already working on this.
Since Jan 17, 2025.
in: mediatypes
type: enhancement
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 476
- PR merge metrics
- No merged PRs in 30d
Description
See https://github.com/spring-projects/spring-hateoas/issues/1695#issuecomment-2559303476 for context.
There are some times where the list of possible HAL-FORMS options is constrained by a PathVariable. I propose to add a PropertyCreationContext that would provide intel allowing to have more dynamic ways of creating HAL-FORMS metatadas.
To begin, this PropertyCreationContext would only expose the AffordanceModel#link.
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.
Assessment
This issue has not been assessed yet.