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
5 lines
137 B
Text
5 lines
137 B
Text
error: GraphQL object can only be derived for structs
|
|
--> $DIR/derive_wrong_item.rs:4:1
|
|
|
|
|
4 | enum Character {}
|
|
| ^^^^^^^^^^^^^^^^^
|