-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Naming conflict for "ErrorHandler" which actually is a middleware and not a RequestHandler #3
Comments
We can do this by doing the following:
Please feel free to submit a PR against develop to accomplish the first step. Originally posted by @weierophinney at zendframework/zend-stratigility#190 (comment) |
I like the idea of providing that new I would rather implement just a I will provide a PR shortly with the changes. Originally posted by @boesing at zendframework/zend-stratigility#190 (comment) |
@weierophinney this wasn't integrated or do I miss something? |
It was actually requested by me as well, I closed it as no1 reviewed it for quite some time but I also think it could be good to keep this as some kind of RFC. Back in the days, we did not had RFCs and I still would love to have some more reasonable naming strategies regarding this package as outlined in the PR:
However, I am not too keen about this change and thus I don't care too much. I got some feedback back in 2019 while I've given a training for mezzio in our company and people were actually wondering why the I just wonder if there are ways to close issues without marking them as complete. |
Hey there,
I am giving some trainings regarding zend-expressive, e.g. for some colleagues.
One thing, which always came back to me as a question was:
Why is the
ErrorHandler
calledErrorHandler
like all those request handlers and notErrorMiddleware
which actually suits better as its a middleware per definition.Would like to see the next major version where the
ErrorHandler
is renamed toErrorMiddleware
.Any thoughts on this?
Originally posted by @boesing at zendframework/zend-stratigility#190
The text was updated successfully, but these errors were encountered: