async-graphql/docs/zh-CN/src/introduction.md
2020-09-13 12:12:32 +08:00

10 lines
697 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 介绍
`Async-graphql`是用Rust语言实现的GraphQL服务端库。它完全兼容GraphQL规范以及绝大部分的扩展功能类型安全并且高性能。
你可以用Rust语言的方式来定义Schema过程宏会自动生成GraphQL查询的框架代码没有扩展Rust的语法意味着Rustfmt可以正常使用我很看重这一点这也是为什么我会开发`Async-graphql`的原因之一。
## 为什么我要开发Async-graphql
我喜欢GraphQL和Rust之前我一直用`Juniper`它解决了我用Rust实现GraphQL服务器的问题但也有一些遗憾其中最重要的是它当时不支持async/await所以我决定做一个给自己用。