Update define_interface.md
This commit is contained in:
parent
9a76ea9896
commit
9b0343dd5a
|
@ -105,5 +105,5 @@ You need to manually register the `MyInterface` type when constructing the `Sche
|
|||
```rust
|
||||
Schema::build(Query, EmptyMutation, EmptySubscription)
|
||||
.register_type::<MyInterface>()
|
||||
.build();
|
||||
.finish();
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user