Skip to content

feat: add an alternative to class-defined routes to remove the need of create classes if not needed #16

Closed
@francescovallone

Description

To prevent the constant creation of classes for routes it could be helpful to have a util that streamline the creation of routes.

Right now there are two proposal:

  • Create a static method in the abstract class to create a Route without the needs of creating a new class.
  • Make the Route class concrete and make possible to use it in the controllers.

The idea behind this proposal has been made by @exaby73 in this tweet.

Metadata

Labels

enhancementNew feature or request

Projects

  • Status

    Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions