juniper/tests/codegen/fail/interface/struct/derive_missing_impl_attr.rs

15 lines
213 B
Rust
Raw Permalink Normal View History

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