Removed Copy trait from initializer in graphql_subscription_with_data.
This commit is contained in:
parent
5beb90127e
commit
89330f2589
|
@ -193,7 +193,7 @@ pub async fn graphql_subscription_upgrade_with_data<Query, Mutation, Subscriptio
|
|||
Query: ObjectType + 'static,
|
||||
Mutation: ObjectType + 'static,
|
||||
Subscription: SubscriptionType + 'static,
|
||||
F: FnOnce(serde_json::Value) -> R + Clone + Send + 'static,
|
||||
F: FnOnce(serde_json::Value) -> R + Send + 'static,
|
||||
R: Future<Output = Result<Data>> + Send + 'static,
|
||||
S: futures_util::Stream<Item = Result<warp::ws::Message, warp::Error>>
|
||||
+ futures_util::Sink<warp::ws::Message>,
|
||||
|
|
Loading…
Reference in New Issue
Block a user