juniper/tests/codegen/fail/interface/derive_wrong_item.rs

13 lines
196 B
Rust
Raw Normal View History

use juniper::{GraphQLInterface, GraphQLObject};
#[derive(GraphQLObject)]
pub struct ObjA {
test: String,
}
#[derive(GraphQLInterface)]
#[graphql(for = ObjA)]
enum Character {}
fn main() {}