Update interface.rs
This commit is contained in:
parent
297d1e7cbb
commit
73aef368df
|
@ -133,7 +133,7 @@ pub async fn test_multiple_interfaces() {
|
||||||
}
|
}
|
||||||
|
|
||||||
let schema = Schema::build(Query, EmptyMutation, EmptySubscription)
|
let schema = Schema::build(Query, EmptyMutation, EmptySubscription)
|
||||||
.register_type::<InterfaceA>()
|
.register_type::<InterfaceA>() // `InterfaceA` is not directly referenced, so manual registration is required.
|
||||||
.finish();
|
.finish();
|
||||||
let query = format!(
|
let query = format!(
|
||||||
r#"{{
|
r#"{{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user