We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24f7de4 commit 4dc1455Copy full SHA for 4dc1455
src/content/code/code.md
@@ -562,7 +562,26 @@ sleep
562
563
### Rust
564
565
- - [graphql-rust/juniper](https://github.com/graphql-rust/juniper): GraphQL server library for Rust
+ [Async-graphql](https://github.com/async-graphql/async-graphql)
566
+
567
+ Async-graphql is a high-performance server-side library that supports all GraphQL specifications.
568
569
+ ```rust
570
+ use async_graphql::*;
571
572
+ struct Query;
573
574
+ #[Object]
575
+ impl Query {
576
+ /// Returns the sum of a and b
577
+ async fn add(&self, a: i32, b: i32) -> i32 {
578
+ a + b
579
+ }
580
581
+ ```
582
583
584
+ [graphql-rust/juniper](https://github.com/graphql-rust/juniper): GraphQL server library for Rust
585
586
### Scala
587
0 commit comments