You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @renanbr. This looks like a pretty big feature! Are you willing to (and do you have time) to write a bit of documentation about the feature?
I think the best would be to add the service() function to the list in https://symfony.com/doc/6.1/routing.html#matching-expressions
And then add a small section paragraph basically saying "you'll have to add the #[AsRoutingConditionService] attribute or ... tag to your service if you want to use it in the condition".
…tion (renanbr)
This PR was merged into the 6.1 branch.
Discussion
----------
[Routing] Allow using services in the route condition
Documents symfony/symfony#44405Closessymfony#16714
Commits
-------
c2478da [Routing] Allow using services in the route condition
The text was updated successfully, but these errors were encountered: