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

16 lines
249 B
Rust
Raw Normal View History

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