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
the trait bound serde_json::Error: ResponseError
is not satisfied
#183
Comments
Since You can go ahead to map and wrap that + use actix_web::error::JsonPayloadError;
+
- Ok(Some(serde_json::from_str(s)?))
+ Ok(Some(serde_json::from_str(s).map_err(JsonPayloadError::Deserialize)?)) Also see: Cargo.toml's [patch] section |
actix-session crate error.. |
Mind including the error? |
This comment has been minimized.
This comment has been minimized.
Please refrain from using offensive words. |
you should stick to |
Your Environment
OS Name: Microsoft Windows 10
OS Version: 10.0.19042 N/A Build 19042
rustc -V
):rustc 1.53.0-nightly (7f4afdf02 2021-04-22)
actix-web = "~4.0.0-beta.6"
actix-session = "0.5.0-beta.1"
The text was updated successfully, but these errors were encountered: