Open
Description
benwarfield-usds opened DATAREST-1407 and commented
The documentation for customizing resource URLs was not updated when RepositoryRestConfigurerAdapter was deprecated and the underlying APIs were changed (not entirely sure which version that was), so the code example (below) no longer compiles.
config.withCustomEntityLookup().
forRepository(UserRepository.class, User::getUsername, UserRepository::findByUsername);
Affects: 3.1.9 (Lovelace SR9)
Reference URL: https://docs.spring.io/spring-data/rest/docs/3.1.9.RELEASE/reference/html/#_customizing_item_resource_uris
Referenced from: pull request #359