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

12 lines
157 B
Rust
Raw Normal View History

use juniper::GraphQLInterface;
#[derive(GraphQLInterface)]
struct Character {
id: String,
#[graphql(name = "id")]
id2: String,
}
fn main() {}