a3fda7363d
- preserve and reuse defined impl blocks in #[graphql_object] and #[graphql_subscription] macros expansion - allow renaming `ScalarValue` type parameter in expanded code via `scalar = S: ScalarValue` syntax Additionally: - rename `rename` attribute's argument to `rename_all` - support `rename_all` in #[graphql_interface] macro
8 lines
87 B
Rust
8 lines
87 B
Rust
use juniper::graphql_object;
|
|
|
|
struct Obj;
|
|
|
|
#[graphql_object]
|
|
impl Obj {}
|
|
|
|
fn main() {}
|