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