Open gregturn opened 7 years ago
When Spring HATEOAS reaches Java 8, we should entertain method handles as the means to linkTo(methodOn()).
@olivergierke What are the odds we could retire ResourceAssemblerSupport
in favor of #591?
If not, perhaps the functionality for creating these links could be extracted into a utility function that both could leverage.
By using
slash()
, ResourceAssemblerSupport is failing to properly take into account the full path of a Spring MVC route.This fails for a controller like this:
In this situation, the route mapping is /employees/1, but yields this: