-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Closed
Labels
Help wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.
Description
Description
Current, using the default recipe coming with Symfony 7.2, when one has a controller like that:
#[Route('/conference/{slug}', name: 'conference')]
public function show(Conference $conference) {
One will get this message:
When you know the solution, the fix is trivial:
- #[Route('/conference/{slug}', name: 'conference')]
+ #[Route('/conference/{slug:conference}', name: 'conference')]
But when you don't, you're SOL.
The thing is, we do have the reporting infrastructure to improve this: NearMissValueResolverException
as introduced in #54107.
It'd be great to leverage it for similar cases.
Help wanted.
Example
No response
Metadata
Metadata
Assignees
Labels
Help wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.