Update define_interface.md
This commit is contained in:
parent
9785869278
commit
2ffe722ed1
|
@ -102,5 +102,5 @@ type MySchema = Schema<Query, EmptyMutation, EmptySubscription>;
|
|||
```rust
|
||||
Schema::build(Query, EmptyMutation, EmptySubscription)
|
||||
.register_type::<MyInterface>()
|
||||
.build();
|
||||
.finish();
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue