juniper/tests/codegen/fail/input-object/derive_unique_name.rs

11 lines
163 B
Rust
Raw Permalink Normal View History

use juniper::GraphQLInputObject;
#[derive(GraphQLInputObject)]
struct Object {
test: String,
#[graphql(name = "test")]
test2: String,
}
fn main() {}