Sylius/SyliusResourceBundle

SyliusCrudRoutes attribute and host parameter

notFloran opened this issue · 1 comments

Describe the proposed solution

Allow host parameter for SyliusCrudRoutes attribute as for SyliusRoute attribute.

Describe alternatives you've considered

I use YAML config with the following config.

app.yaml :

app_extranet:
    resource: "_extranet.yaml"
    host: "%extranet_host%"

_extranet.yaml :

extranet_my_resource:
    resource: |
        alias: app.chassis
    type: sylius.resource

@notFloran Not sure we will implement that in the current routing system, cause we are building another metadata and routing system in 1.11. But we have missed "host" and "schemes" option, so I keep this issue open.