Skip to content

Conversation

fancyweb
Copy link
Contributor

@fancyweb fancyweb commented Apr 7, 2019

#eufossa

doc for symfony/symfony#30933

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

@wouterj wouterj added ⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming Waiting Code Merge Docs for features pending to be merged labels Apr 7, 2019
@fancyweb fancyweb force-pushed the invokable-object-route-loader branch from a3d69dd to d9b4121 Compare April 7, 2019 11:25
nicolas-grekas added a commit to symfony/symfony 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
@OskarStark OskarStark removed the Waiting Code Merge Docs for features pending to be merged label Apr 7, 2019
@wouterj
Copy link
Member

wouterj commented Apr 7, 2019

Thanks for updating the docs for your code contributions, Thomas!

@wouterj wouterj merged commit d9b4121 into symfony:master Apr 7, 2019
wouterj added a commit 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
@fancyweb fancyweb deleted the invokable-object-route-loader branch July 10, 2019 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming Routing Status: Reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants