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
10 lines
302 B
Text
10 lines
302 B
Text
error: GraphQL interface trait method can't have default implementation
|
|
--> fail/interface/method_default_impl.rs:5:26
|
|
|
|
|
5 | fn id(&self) -> &str {
|
|
| __________________________^
|
|
6 | | "default"
|
|
7 | | }
|
|
| |_____^
|
|
|
|
|
= note: https://spec.graphql.org/June2018/#sec-Interfaces
|