12 lines
179 B
Rust
12 lines
179 B
Rust
|
use juniper::{graphql_interface, GraphQLObject};
|
||
|
|
||
|
#[derive(GraphQLObject)]
|
||
|
pub struct ObjA {
|
||
|
test: String,
|
||
|
}
|
||
|
|
||
|
#[graphql_interface(for = ObjA)]
|
||
|
enum Character {}
|
||
|
|
||
|
fn main() {}
|