Skip to content

Polish Kotlin routing DSL [SPR-15292] #19858

@spring-projects-issues

Description

@spring-projects-issues

Sébastien Deleuze opened SPR-15292 and commented

Polish Kotlin routing DSL with:

  • typealias to replace types like RouterDsl.() -> Unit by Routes
  • String.invoke() as path("/foo") shortcut
  • String.route() as pathPrefix("/foo").route() shortcut
  • Avoid requiring PathPredicates.* import

Referenced from: commits 710702a

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions