Skip to content

[2.1] Make prefixes valid routes #1260

@aldesantis

Description

@aldesantis

It is now possible to specify parameters as part of a prefix, but we can't specify default values and requirements yet. I think it should be possible to have something like:

my_resource:
    resource: my_resource.yml
    prefix: /{parameter}
    defaults:
        parameter: value
    requirements:
        parameter: value|value1|value2

A prefix should be and act as a valid route rather than a simple string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions