-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Change error type for RequestParts::try_into_request
#639
Change error type for RequestParts::try_into_request
#639
Conversation
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 think it's fine to remove the crate-internal downcast function.
Since this is a breaking change, I don't think it can be merged into main
now. @davidpdrsn do you want to create a next
/ 0.5-pre
or similar branch that breaking-change PRs can go to?
Yeah I think we can just remove the method. It's in git if we need it back.
I'll make a branch that we can merge breaking changes into. I'll do that next week and then can we merge this branch into that. |
Motivation
Fixes #632.
I'm not sure if
Error::downcast
should be removed or not as it was only used intry_into_request
, so for now I marked it with#[allow(dead_code)]