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