Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DependencyInjection] Add message to install symfony/config for additional debugging information #48915

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

Conversation

alexandre-daubois
Copy link
Member

@alexandre-daubois alexandre-daubois commented Jan 8, 2023

Q A
Branch? 6.3
Bug fix? no
New feature? yes
Deprecations? no
Tickets Fix #48905
License MIT
Doc PR NA

As stated in the ticket, symfony/config is a dev dependency for DI component. This PR aims to improve a bit the DX when an error occurred during autowiring and when ClassExistenceResource is not available.

@carsonbot carsonbot added Status: Needs Review DependencyInjection DX DX = Developer eXperience (anything that improves the experience of using Symfony) Feature labels Jan 8, 2023
@carsonbot carsonbot added this to the 6.3 milestone Jan 8, 2023
@carsonbot carsonbot changed the title [DependencyInjection][DX] Add message to install symfony/config for additional debugging information [DependencyInjection] Add message to install symfony/config for additional debugging information Jan 8, 2023
@carsonbot
Copy link

Hey!

I think @rodmen has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@alexandre-daubois alexandre-daubois force-pushed the feat/dx-autowire-config-component branch from 76f9ac2 to 34ddeb6 Compare January 9, 2023 17:27
@nicolas-grekas
Copy link
Member

Thank you @alexandre-daubois.

@nicolas-grekas nicolas-grekas merged commit 8fee664 into symfony:6.3 Jan 9, 2023
@alexandre-daubois alexandre-daubois deleted the feat/dx-autowire-config-component branch January 9, 2023 17:39
@mondrake
Copy link
Contributor

mondrake commented Jan 9, 2023

can this be backported to 6.2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DependencyInjection DX DX = Developer eXperience (anything that improves the experience of using Symfony) Feature Status: Reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Dependency Injection] AutowirePass depends on symfony/config
4 participants