8000 [Routing] rewrite incorrect sentence by Ahummeling · Pull Request #15824 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Routing] rewrite incorrect sentence #15824

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

Ahummeling
Copy link
Contributor

This bit of documentation: This feature is called "param converter" and is only available when using annotations to define routes. Would imply that the param converter is only enabled for routes that are defined through annotations. But I believe this is not case.
This pull request rewrites this sentence and would hopefully prevent other people from also spending a lot of time unnecessarily.

@javiereguiluz
Copy link
Member

@Ahummeling thanks for this fix. I agree that the original text is wrong. However, I think we should fix differently. Instead of mentioning the ParamConverter annotation, which is not used in the example and it's mentioned later in a cross link, I'd just remove the wrong phrase claiming that this only works when using annotations. What do you think?

@Ahummeling
Copy link
Contributor Author

Yeah, that actually makes much more sense. I'll go make the changes and update my PR, thanks!

@javiereguiluz
Copy link
Member

Arend, thanks for making these additional changes. It's merged now! Congrats on your first Symfony Docs contribution 🎉

@javiereguiluz javiereguiluz merged commit b94474a into symfony:4.4 Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0