-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
DependencyInjectionRFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)
Description
| Q | A |
|---|---|
| Bug report? | no |
| Feature request? | yes |
| BC Break report? | no |
| RFC? | yes |
| Symfony version | 4.x |
Looking at https://github.com/symfony/symfony/pull/26864/files#diff-d7abf441ff735df5b2a9453f39ce13d2R214 i was wondering if we can solve this at the DI level, to keep the wiring concise and avoid per-case extra checks.
We did something like that recently for invalid twig functions due to missing deps i believe.
The idea is to link a tailored error message, i.e. one that hints a composer package, when some service is missing.
Thoughts?
Metadata
Metadata
Assignees
Labels
DependencyInjectionRFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)