d0b56f9222
- support `#[graphql_interface]` on structs
12 lines
196 B
Rust
12 lines
196 B
Rust
use juniper::{GraphQLInterface, GraphQLObject};
|
|
|
|
#[derive(GraphQLObject)]
|
|
pub struct ObjA {
|
|
test: String,
|
|
}
|
|
|
|
#[derive(GraphQLInterface)]
|
|
#[graphql(for = ObjA)]
|
|
enum Character {}
|
|
|
|
fn main() {}
|