Hi, i'm working on getting a new graphql server up using the actix-web v4 branch(async-graphql-actix-web = { git = "https://github.com/async-graphql/async-graphql", branch = "actix-web-v4-beta" }) and i'm running into a few trait bounds issues that i'm unsure of how to fix. Here is the base code:
the trait bound `std::string::String: std::convert::From<async_graphql::request::Request>` is not satisfied
the following implementations were found:
<std::string::String as std::convert::From<&mut str>>
<std::string::String as std::convert::From<&std::string::String>>
<std::string::String as std::convert::From<&str>>
<std::string::String as std::convert::From<async_graphql::ID>>
and 5 others
required because of the requirements on the impl of `std::convert::Into<std::string::String>` for `async_graphql::request::Request`
required because of the requirements on the impl of `std::convert::From<async_graphql::request::Request>` for `async_graphql::Request`
1 redundant requirement hidden
required because of the requirements on the impl of `std::convert::Into<async_graphql::Request>` for `async_graphql::request::Request`
and:
the trait bound `async_graphql_actix_web::Response: std::convert::From<async_graphql::Response>` is not satisfied
the following implementations were found:
<async_graphql_actix_web::Response as std::convert::From<async_graphql::response::BatchResponse>>
<async_graphql_actix_web::Response as std::convert::From<async_graphql::response::Response>>
required because of the requirements on the impl of `std::convert::Into<async_graphql_actix_web::Response>` for `async_graphql::Response`
Is this issue present only because of the branch i'm working off of?
Hi, i'm working on getting a new graphql server up using the actix-web v4 branch(
async-graphql-actix-web = { git = "https://github.com/async-graphql/async-graphql", branch = "actix-web-v4-beta" }
) and i'm running into a few trait bounds issues that i'm unsure of how to fix. Here is the base code:This will throw:
and:
Is this issue present only because of the branch i'm working off of?