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
205 B
Text
7 lines
205 B
Text
error: GraphQL interface must have at least one field
|
|
--> fail/interface/no_fields.rs:4:1
|
|
|
|
|
4 | trait Character {}
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: https://spec.graphql.org/June2018/#sec-Interfaces
|