Feature #43966

Base Distribution - Work Package #45088: Improved REST support

Allow all routes to include sub routes

Added by Bastian Waidelich almost 9 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Should have
Category:
MVC - Routing
Target version:
-
Start date:
2012-12-13
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

Sub routes are currently only resolved in the global Configuration/Routes.yaml file.
It would be nice if sub routes could include sub routes them selves.
This also requires us to be able to specify a path.

The syntax could be similar to:

-
  # loads sub routes from My.Package/Configuration/Routes.yaml
  uriPattern: '<SomeSubroutes>'
  subRoutes:
    SomeSubroutes:
      package: My.Package
-
  # loads sub routes from Other.Package/Configuration/RestRoutes.yaml
  uriPattern: '<SomeSubroutes>'
  subRoutes:
    SomeSubroutes:
      package: Other.Package
      filename: RestRoutes.yaml


Related issues

Related to TYPO3.Flow - Bug #47255: Cache is not flushed for changes in sub routesResolvedBastian Waidelich2013-04-15

Actions

Also available in: Atom PDF