juniper/tests/codegen/fail/input-object/derive_unique_name.rs
ilslv 927e42201a
Rework #[derive(GraphQLInputObject)] macro implementation (#1052)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-06-28 11:27:28 +00:00

10 lines
163 B
Rust

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