spring-hateoas icon indicating copy to clipboard operation
spring-hateoas copied to clipboard

Provide a property creation context to `HalFormsOptionsFactory`

Open reda-alaoui opened this issue 10 months ago • 0 comments
trafficstars

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.

reda-alaoui avatar Dec 23 '24 11:12 reda-alaoui