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

Skip to content

[Messenger] Rename TolerateNoHandler to AllowNoHandlerMiddleware #27163

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

Merged
merged 1 commit into from
May 6, 2018

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

I was surprised by the word "tolerate", and by the missing "middleware" suffix.
This way would be less surprizing I believe.

Copy link
Contributor

@sroze sroze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense 👍

@javiereguiluz
Copy link
Member

AllowNoHandlerMiddleware looks a bit weird to me too (although less weird than TolerateNoHandler). Some alternatives in case you want to consider other names: HandlerlessMiddleware, OptionalHandlerMiddleware, NoHandlerMiddleware.

@sroze sroze added the Messenger label May 6, 2018
@sroze
Copy link
Contributor

sroze commented May 6, 2018

Thank you @nicolas-grekas.

@sroze sroze merged commit 5434780 into symfony:master May 6, 2018
sroze added a commit that referenced this pull request May 6, 2018
…ddleware (nicolas-grekas)

This PR was merged into the 4.1-dev branch.

Discussion
----------

[Messenger] Rename TolerateNoHandler to AllowNoHandlerMiddleware

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

I was surprised by the word "tolerate", and by the missing "middleware" suffix.
This way would be less surprizing I believe.

Commits
-------

5434780 [Messenger] Rename TolerateNoHandler to AllowNoHandlerMiddleware
@nicolas-grekas nicolas-grekas deleted the messenger-allow-middleware branch May 16, 2018 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants