Skip to content

Remove Spring MVC dependency from core module [DATAREST-1542] #1900

@spring-projects-issues

Description

@spring-projects-issues

Oliver Drotbohm opened DATAREST-1542 and commented

The Spring MVC dependency in Spring Data REST's core module is only required as CorsRegistry and downstream types are located in Spring WebMVC. After some discussion with Jürgen, we agreed on changing the configuration model to rather receive a CorsRegistry in RepositoryRestConfigurer.configureRepositoryRestConfiguration(…) as that already lives in the WebMVC module


Issue Links:

  • DATAREST-1543 Deprecate RepositoryRestConfiguration.getCorsRegistry()
    ("depends on")

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions