async-graphql-actix-web v1.1.4
This commit is contained in:
parent
bf9712ad03
commit
225ccc0039
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "async-graphql-actix-web"
|
||||
version = "1.1.3"
|
||||
version = "1.1.4"
|
||||
authors = ["sunli <scott_s829@163.com>"]
|
||||
edition = "2018"
|
||||
description = "async-graphql for actix-web"
|
||||
|
|
|
@ -26,10 +26,7 @@ where
|
|||
Subscription: SubscriptionType + Send + Sync + 'static,
|
||||
{
|
||||
/// Create an actor for subscription connection via websocket.
|
||||
pub fn new<F>(schema: &Schema<Query, Mutation, Subscription>) -> Self
|
||||
where
|
||||
F: Fn(serde_json::Value) -> Data + Send + Sync + 'static,
|
||||
{
|
||||
pub fn new(schema: &Schema<Query, Mutation, Subscription>) -> Self {
|
||||
Self {
|
||||
schema: schema.clone(),
|
||||
hb: Instant::now(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user