Fix the problem that rocket example cannot pass the test.
This commit is contained in:
parent
bf7f9656e9
commit
35899d2b38
|
@ -4,7 +4,7 @@ version = "1.17.21"
|
||||||
authors = ["Daniel Wiesenberg <daniel@simplificAR.io>"]
|
authors = ["Daniel Wiesenberg <daniel@simplificAR.io>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "async-graphql for Rocket.rs"
|
description = "async-graphql for Rocket.rs"
|
||||||
publish = true
|
#publish = true
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
documentation = "https://docs.rs/async-graphql/"
|
documentation = "https://docs.rs/async-graphql/"
|
||||||
homepage = "https://github.com/async-graphql/async-graphql"
|
homepage = "https://github.com/async-graphql/async-graphql"
|
||||||
|
|
|
@ -29,7 +29,7 @@ use yansi::Paint;
|
||||||
///
|
///
|
||||||
/// ```rust,no_run
|
/// ```rust,no_run
|
||||||
///
|
///
|
||||||
/// use async_graphql::{EmptyMutation, EmptySubscription, Schema};
|
/// use async_graphql::{EmptyMutation, EmptySubscription, Schema, Object};
|
||||||
/// use async_graphql_rocket::{GQLRequest, GraphQL, GQLResponse};
|
/// use async_graphql_rocket::{GQLRequest, GraphQL, GQLResponse};
|
||||||
/// use rocket::{response::content, routes, State, http::Status};
|
/// use rocket::{response::content, routes, State, http::Status};
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue
Block a user