-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
List tags that are automatically applied for you with autoconfigure enabled #9229
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
Comments
@aaa2000 I appreciate your proposal to improve Symfony Docs. However, we usually reject ideas like this because it makes docs too dependent on the code. Maintaining a list like that is really hard for us because we must continually check that is updated with the latest code changes. Given that we are trying to simplify our work on docs, I'm 👎 about this proposal. I'm sorry but I hope you understand why I vote that. Thanks! |
This PR was merged into the master branch. Discussion ---------- [Serializer] Max depth handler support Documents symfony/symfony#26108. Closes #9317 and #9229. Commits ------- ef46c8c [Serializer] Max depth handler support
Closing for the reasons explained above. I hope you understand it. Thanks! |
Just stumbled across this issue while looking precisely for this list. Is this really not documented anywhere? IMO this is a perfect candidate for the DX initiative. (ping @weaverryan) This list seems to be a perfect candidate for the Reference to me. Thanks @aaa2000 for compiling it.
A very similar list is already in the reference (Tag List), hence I don't think this argument holds. 👍 for reopening this issue |
I think best is to add a debug command for this (similar to |
In https://github.com/symfony/symfony-docs/blob/4.0/service_container/tags.rst#autoconfiguring-tags, the documentation only mentions
twig.extension tag
.Having the list increases the readability of the file by reducing its size.
It seems to me that the implemantion of these interfaces are automaticaly tagged:
https://github.com/symfony/symfony/blob/44b2f97dcd2ba10857dd545e424ad4f48c9dbea1/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php#L154
https://github.com/symfony/symfony/blob/374f6e2353781709356e334665539bc31f2c4e11/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L285
https://github.com/symfony/symfony/blob/302f33702dcf29dbfdd09c72cdf69273fe8c60a6/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php#L121
Are there others autoconfiguring tags ?
The text was updated successfully, but these errors were encountered: