Open valpackett opened 6 months ago
This looks very convenient! :+1:
One thing that seems missing is being able to reuse an error's own IntoResponse implementation when doing #[from]. e.g. JsonDeserializerRejection is such an error.
IntoResponse
#[from]
Indeed, I’ll look into that when I have free time, if you have time or want to implement it just make a PR and let me know :)
This looks very convenient! :+1:
One thing that seems missing is being able to reuse an error's own
IntoResponse
implementation when doing#[from]
. e.g. JsonDeserializerRejection is such an error.