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

Change error type for RequestParts::try_into_request #639

Merged
merged 2 commits into from
Dec 21, 2021
Merged

Change error type for RequestParts::try_into_request #639

merged 2 commits into from
Dec 21, 2021

Conversation

nylonicious
Copy link
Contributor

Motivation

Fixes #632.

I'm not sure if Error::downcast should be removed or not as it was only used in try_into_request, so for now I marked it with #[allow(dead_code)]

Copy link
Member

@jplatte jplatte left a 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?

@davidpdrsn davidpdrsn added the breaking change A PR that makes a breaking change. label Dec 18, 2021
@davidpdrsn davidpdrsn added this to the 0.5 milestone Dec 18, 2021
@davidpdrsn
Copy link
Member

Yeah I think we can just remove the method. It's in git if we need it back.

Since this is a breaking change, I don't think it can be merged into main now

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change A PR that makes a breaking change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change error type for RequestParts::try_into_request
3 participants