We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24f7de4 commit 7293e73Copy full SHA for 7293e73
src/content/code/code.md
@@ -562,7 +562,25 @@ 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
+#### [graphql-rust/juniper](https://github.com/graphql-rust/juniper): GraphQL server library for Rust
584
585
### Scala
586
0 commit comments