Update book (#310)

Update book
This commit is contained in:
Sunli 2020-10-13 23:13:36 +08:00 committed by GitHub
parent 003631e76b
commit d03ad2d50d
2 changed files with 9 additions and 9 deletions

View File

@ -4,10 +4,10 @@
```toml
[dependencies]
async-graphql = "1.18.0"
async-graphql-actix-web = "1.18.0" # If you need to integrate into actix-web
async-graphql-warp = "1.18.0" # If you need to integrate into warp
async-graphql-tide = "1.18.0" # If you need to integrate into tide
async-graphql = "2.0"
async-graphql-actix-web = "2.0" # If you need to integrate into actix-web
async-graphql-warp = "2.0" # If you need to integrate into warp
async-graphql-tide = "2.0" # If you need to integrate into tide
```
## Write a Schema

View File

@ -4,10 +4,10 @@
```toml
[dependencies]
async-graphql = "1.18.0"
async-graphql-actix-web = "1.18.0" # 如果你需要集成到Actix-web
async-graphql-warp = "1.18.0" # 如果你需要集成到Warp
async-graphql-tide = "1.18.0" # 如果你需要集成到Tide
async-graphql = "2.0"
async-graphql-actix-web = "2.0" # 如果你需要集成到Actix-web
async-graphql-warp = "2.0" # 如果你需要集成到Warp
async-graphql-tide = "2.0" # 如果你需要集成到Tide
```
## 写一个Schema
@ -50,4 +50,4 @@ let json = serde_json::to_string(&res);
## 和Web Server的集成
请参考https://github.com/async-graphql/examples。
请参考https://github.com/async-graphql/examples。