juniper/tests/codegen/fail/interface/trait/fields_duplicate.stderr

12 lines
379 B
Text

error: GraphQL interface must have a different name for each field
· note: https://spec.graphql.org/October2021#sec-Interfaces
--> fail/interface/trait/fields_duplicate.rs:4:1
|
4 | trait Character {
| ^^^^^
error: cannot find attribute `graphql` in this scope
--> fail/interface/trait/fields_duplicate.rs:7:7
|
7 | #[graphql(name = "id")]
| ^^^^^^^