juniper/integration_tests/codegen_fail/fail/interface/derive_wrong_item.rs
2022-04-01 21:10:45 +03:00

12 lines
196 B
Rust

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