d0b56f9222
- support `#[graphql_interface]` on structs
7 lines
211 B
Text
7 lines
211 B
Text
error: GraphQL interface must have at least one field
|
|
--> fail/interface/trait/no_fields.rs:4:1
|
|
|
|
|
4 | trait Character {}
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: https://spec.graphql.org/June2018/#sec-Interfaces
|