11 lines
145 B
Rust
11 lines
145 B
Rust
|
use juniper::GraphQLObject;
|
||
|
|
||
|
#[derive(GraphQLObject)]
|
||
|
struct ObjA {
|
||
|
id: String,
|
||
|
#[graphql(name = "id")]
|
||
|
id2: String,
|
||
|
}
|
||
|
|
||
|
fn main() {}
|