-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
BugHelp wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.Routing
Description
| Q | A |
|---|---|
| Bug report? | yes |
| Feature request? | no |
| BC Break report? | yes (kind of) |
| RFC? | no |
| Symfony version | 3.3.* |
Background for this issue is provided in #22938.
Glob loader breaks Sylius' usage of passing autogenerated routing configuration as resource contents:
# Not work
sylius_admin_api_carts:
resource: |
alias: sylius.order
path: '/'
only: [index]
grid: sylius_admin_api_cart
section: admin_api
serialization_version: $version
type: sylius.resource_api
# Work
sylius_admin_api_carts:
resource: |
alias: sylius.order
#path: '/'
only: [index]
grid: sylius_admin_api_cart
section: admin_api
serialization_version: $version
type: sylius.resource_apiGiven the first config, it tries to use alias: sylius.order\npath: ' as prefix path.
tchapi, alcaeus, anolek, liverbool, loic425 and 1 more
Metadata
Metadata
Assignees
Labels
BugHelp wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.Routing