Update interface.rs

This commit is contained in:
sunli 2020-04-21 20:54:38 +08:00
parent 359d3f64c0
commit 5b7ef8b8b5

View File

@ -133,7 +133,7 @@ pub async fn test_multiple_interfaces() {
}
let schema = Schema::build(Query, EmptyMutation, EmptySubscription)
.register_type::<InterfaceA>()
.register_type::<InterfaceA>() // `InterfaceA` is not directly referenced, so manual registration is required.
.finish();
let query = format!(
r#"{{