Skip to content

[DependencyInjection] Updating prepend extension capabilities #19738

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
Apr 15, 2024

Conversation

yceruto
Copy link
Member

@yceruto yceruto commented Apr 3, 2024

Fixes #19735

I'm also suggesting removing the append example in the prepend extension method. As explained in PR symfony/symfony#52843 and related issues, it's flawed and should be discouraged from the official documentation.

I'll create a new PR to target the lower branch and remove it there too.

@yceruto yceruto force-pushed the feature/import_prepend_extension branch from 42b1bd2 to 02a258d Compare April 4, 2024 13:53
javiereguiluz added a commit that referenced this pull request Apr 15, 2024
…pend extension method (yceruto)

This PR was merged into the 6.4 branch.

Discussion
----------

[DependencyInjection] Discourage appending config on prepend extension method

Related to symfony/symfony#52789 and #19738

Commits
-------

4e82adb Discourage append config on prepend extension method
@yceruto yceruto force-pushed the feature/import_prepend_extension branch from 02a258d to 25c5adf Compare April 15, 2024 14:10
@yceruto
Copy link
Member Author

yceruto commented Apr 15, 2024

Rebased done.

@javiereguiluz javiereguiluz merged commit 214e5df into symfony:7.1 Apr 15, 2024
@javiereguiluz
Copy link
Member

Yonel, thanks for this and the other contribution (and thanks for the related code contribution too). While merging I reworded it a bit to use a versionadded:: 7.1 directive instead of a deprecated one (see 4937afb)

@yceruto yceruto deleted the feature/import_prepend_extension branch April 15, 2024 16:05
@yceruto
Copy link
Member Author

yceruto commented Apr 15, 2024

Thanks Javier! Again, it's better than mine👌

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.

[DependencyInjection] Prepending extension configs with file loaders
4 participants