Skip to content

Documentation example uses deprecated API (RepositoryRestConfigurerAdapter) [DATAREST-1407] #1766

Open
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions