8000 [Routing][ObjectRouteLoader] Allow invokable route loader services by fancyweb · Pull Request #30933 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Routing][ObjectRouteLoader] Allow invokable route loader services #30933

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

Merged

Conversation

fancyweb
Copy link
Contributor
@fancyweb fancyweb commented Apr 6, 2019
Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR symfony/symfony-docs#11333

#eufossa

Fall back by default on the __invoke method when it is not configured.

Using a regex is easier to check that the format is valid, at least for the time we have to supports the single column notation.

TODO :

  • Changelog entry
  • Doc PR

@fancyweb fancyweb force-pushed the object-router-loader-invoke branch from 13ad1d0 to 5bf7ad4 Compare April 7, 2019 08:38
@nicolas-grekas
Copy link
Member
8000 nicolas-grekas commented Apr 7, 2019

Thank you @fancyweb.

@nicolas-grekas nicolas-grekas merged commit 5bf7ad4 into symfony:master Apr 7, 2019
nicolas-grekas added a commit that referenced this pull request Apr 7, 2019
…der services (fancyweb)

This PR was merged into the 4.3-dev branch.

Discussion
----------

[Routing][ObjectRouteLoader] Allow invokable route loader services

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | symfony/symfony-docs#11333

#eufossa

Fall back by default on the `__invoke` method when it is not configured.

Using a regex is easier to check that the format is valid, at least for the time we have to supports the single column notation.

TODO :
- [x] Changelog entry
- [x] Doc PR

Commits
-------

5bf7ad4 [Routing][ObjectRouteLoader] Allow invokable route loader services
wouterj added a commit to symfony/symfony-docs that referenced this pull request Apr 7, 2019
This PR was merged into the master branch.

Discussion
----------

[Routing] Invokable route loader services

#eufossa

doc for symfony/symfony#30933

Also the notation with one column has been deprecated so I updated this part as well.

Commits
-------

d9b4121 [Routing] Invokable route loader services
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.3 Apr 30, 2019
@fabpot fabpot mentioned this pull request May 9, 2019
@fancyweb fancyweb deleted the object-router-loader-invoke branch August 9, 2019 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
< 6BB7 div data-view-component="true" class="Layout-sidebar">
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0