1aa1000c3b
- remove support for `#[graphql_interface(dyn)]` - describe all interface trait methods with type's fields or impl block instead of `#[graphql_interface]` attribute on `impl Trait` - forbid default impls on non-skipped trait methods - support additional nullable arguments on implementer - support returning sub-type on implementer
7 lines
341 B
Text
7 lines
341 B
Text
error: #[graphql_interface] attribute is applicable to trait definitions only
|
|
--> fail/interface/wrong_item_enum.rs:8:1
|
|
|
|
|
8 | #[graphql_interface(for = ObjA)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: this error originates in the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info)
|