Skip to content
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

rename alias HTTP::Handler::Proc to HTTP::Handler::HandlerProc #6453

Merged
merged 1 commit into from Aug 6, 2018

Conversation

jwoertink
Copy link
Contributor

closes: #6386

I know that the name is a bit verbose, but naming is hard. 😂 If anyone has a suggestion for a better name, I'll make the change.

The reason for the rename as mentioned in that issue is that when you are creating a custom HTTP::Handler, and you include it in your class, you're not able to use the standard type Proc anymore since it's been overridden by the alias. I hope no one was using this in particular, but it should probably be noted as a breaking change just in case.

@jwoertink
Copy link
Contributor Author

I'm not sure what that travis error is.

@Sija
Copy link
Contributor

Sija commented Jul 27, 2018

@jwoertink Unrelated to this PR, see #5890

@jwoertink
Copy link
Contributor Author

Ok cool. Just making sure I didn't break something lol

Copy link
Member

@sdogruyol sdogruyol left a comment

Choose a reason for hiding this comment

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

Thank you @jwoertink 👍

@sdogruyol sdogruyol merged commit 93259c8 into crystal-lang:master Aug 6, 2018
@sdogruyol sdogruyol added this to the 0.26.0 milestone Aug 6, 2018
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.

HTTP::Handler override Proc
4 participants