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

reference-guide: non-working code sample in 4.2. HAL-Forms | 4.2.3. A complete sample

Open KlausUnger-SoftwareCraftsmen opened this issue 2 years ago • 1 comments
trafficstars

There is no support for .andAfford(...)

It should be imho .andAffordance(afford(...))

probably a convenience method andAfford(...) like stated would be nice

Will try to provide a PR for the doc fix

I think in the example should rather properly add the link to the createCustomer(…) method under a link relation, as that would add the affordance transparently.

odrotbohm avatar Feb 22 '23 13:02 odrotbohm