docs: EmptyQuery isn't a thing
This commit is contained in:
parent
60eeafe323
commit
80eb21af64
|
@ -11,8 +11,11 @@ Apollo Federation is a GraphQL architecture for combining multiple GraphQL servi
|
|||
```rust
|
||||
# extern crate async_graphql;
|
||||
# use async_graphql::*;
|
||||
# struct Query;
|
||||
# #[Object]
|
||||
# impl Query {}
|
||||
fn main() {
|
||||
let schema = Schema::build(EmptyQuery, EmptyMutation, EmptySubscription)
|
||||
let schema = Schema::build(Query, EmptyMutation, EmptySubscription)
|
||||
.enable_federation()
|
||||
.finish();
|
||||
// ... Start your server of choice
|
||||
|
|
Loading…
Reference in New Issue