bump actix-web from 4.0.0-beta.10
to 4.0.0-beta.11
This commit is contained in:
parent
27deae8476
commit
892e8189a0
2
examples
2
examples
|
@ -1 +1 @@
|
||||||
Subproject commit d7fdd5003034de745492ab1ffe88455f7e49c58f
|
Subproject commit 49939003f9f0daf11a97522d7c3489d3beb85adb
|
|
@ -14,8 +14,8 @@ categories = ["network-programming", "asynchronous"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-graphql = { path = "../..", version = "=3.0.4" }
|
async-graphql = { path = "../..", version = "=3.0.4" }
|
||||||
actix = "0.12.0"
|
actix = "0.12.0"
|
||||||
actix-http = "3.0.0-beta.11"
|
actix-http = "3.0.0-beta.12"
|
||||||
actix-web = { version = "4.0.0-beta.10", default-features = false }
|
actix-web = { version = "4.0.0-beta.11", default-features = false }
|
||||||
actix-web-actors = "4.0.0-beta.7"
|
actix-web-actors = "4.0.0-beta.7"
|
||||||
async-channel = "1.6.1"
|
async-channel = "1.6.1"
|
||||||
futures-util = { version = "0.3.17", default-features = false }
|
futures-util = { version = "0.3.17", default-features = false }
|
||||||
|
|
|
@ -25,7 +25,7 @@ async fn quickstart() -> Result<()> {
|
||||||
let schema = Schema::build(QueryRoot, EmptyMutation, EmptySubscription).finish();
|
let schema = Schema::build(QueryRoot, EmptyMutation, EmptySubscription).finish();
|
||||||
|
|
||||||
let mut app = tide::new();
|
let mut app = tide::new();
|
||||||
let endpoint = async_graphql_tide::graphql_endpoint(schema);
|
let endpoint = async_graphql_tide::graphql(schema);
|
||||||
app.at("/").post(endpoint.clone()).get(endpoint);
|
app.at("/").post(endpoint.clone()).get(endpoint);
|
||||||
app.listen(listen_addr).await
|
app.listen(listen_addr).await
|
||||||
});
|
});
|
||||||
|
@ -184,8 +184,7 @@ async fn upload() -> Result<()> {
|
||||||
let schema = Schema::build(QueryRoot, MutationRoot, EmptySubscription).finish();
|
let schema = Schema::build(QueryRoot, MutationRoot, EmptySubscription).finish();
|
||||||
|
|
||||||
let mut app = tide::new();
|
let mut app = tide::new();
|
||||||
app.at("/")
|
app.at("/").post(async_graphql_tide::graphql(schema));
|
||||||
.post(async_graphql_tide::graphql_endpoint(schema));
|
|
||||||
app.listen(listen_addr).await
|
app.listen(listen_addr).await
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user