Skip to content

[DependencyInjection] Document service tags being moved when decorating #17273

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
merged 1 commit into from
Oct 16, 2024

Conversation

chx
Copy link
Contributor

@chx chx commented Sep 15, 2022

Note service tags.

@chx chx changed the title Update service_decoration.rst Document service tags being moved when decorating Sep 16, 2022
@carsonbot carsonbot changed the title Document service tags being moved when decorating [DependencyInjection] Document service tags being moved when decorating Oct 4, 2022
@@ -131,7 +131,9 @@ but keeps a reference of the old one as ``.inner``:
The ``#[AsDecorator]`` attribute was introduced in Symfony 6.1.

The ``decorates`` option tells the container that the ``App\DecoratingMailer``
service replaces the ``App\Mailer`` service. If you're using the
service replaces the ``App\Mailer`` service.
:ref:`Service tags<How to Work with Service Tags> are moved as well.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documenting all that is a bit too much for me I am afraid . I rarely use github for collaboration, how do I invite others to help?

@javiereguiluz javiereguiluz changed the base branch from 6.1 to 6.4 October 16, 2024 15:30
@javiereguiluz javiereguiluz merged commit 40c2a98 into symfony:6.4 Oct 16, 2024
1 of 3 checks passed
@javiereguiluz
Copy link
Member

Thanks @chx and we're very sorry that it took us so long to process this contribution.

@alamirault I took your references and, while merging, I added the list of the tags kept when decorating services. Thanks!

@alamirault
Copy link
Contributor

Thank you @javiereguiluz

I checked your note, and it's look good to me !

@chx chx deleted the patch-1 branch November 19, 2024 20:20
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