Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyliusCrudRoutes attribute and host parameter #843

Open
notFloran opened this issue Jan 29, 2024 · 1 comment
Open

SyliusCrudRoutes attribute and host parameter #843

notFloran opened this issue Jan 29, 2024 · 1 comment

Comments

@notFloran
Copy link

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
@loic425
Copy link
Member

loic425 commented Feb 16, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants