Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[HttpKernel] Improve error reporting when requiring the wrong Request class#54107
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
ilyachase commentedFeb 29, 2024
Not sure what to do with failed checks - errors seem irrelevant to my changes. Please help. |
derrabus commentedFeb 29, 2024
Please find a meaningful title for your PR. We use PR titles to compose the change log.
If you didn't cause them, ignore them. |
ilyachase commentedFeb 29, 2024
Done.
👌 |
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/HttpKernel/Controller/ArgumentResolver/RequestValueResolver.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/HttpKernel/Controller/ArgumentResolver/RequestValueResolver.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I like that :)
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/HttpKernel/Exception/FailedToResolveValueException.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Almost GTM :)
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/HttpKernel/Exception/NearMissValueResolverException.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolverTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
ilyachase commentedMar 5, 2024
@stof@nicolas-grekas hey folks, let's get this PR moving? 🙂 I believe I addressed everything |
fabpot commentedMar 9, 2024
Thank you@ilyachase. |
Uh oh!
There was an error while loading.Please reload this page.
NearMissValueResolverExceptionis introduced to be used inside any implementer ofValueResolverInterfaceto specify why exactly a value cannot be resolved. It's later used inArgumentResolverto compute an exception if no value resolvers can resolve the value.