Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Routing] Add square brackets around optional url parts generated by router:debug command #10217

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

Closed
bigfoot90 opened this issue Feb 8, 2014 · 1 comment

Comments

@bigfoot90
Copy link

It would be useful for debugging have square brackets around optional url parts generated by router:debug command, for example:
/api/customers/{sort}-{dir}/{page}-{records}.{_format} become /api/customers[/{sort}[-{dir}[/{page}[-{records}[.{_format}]]]]]

So you can easily see which parts are really necessary and which ones can be omitted.

@Tobion
Copy link
Contributor

Tobion commented Feb 8, 2014

Could be convered by #5424 automatically.

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

No branches or pull requests

4 participants