juniper/tests/codegen/fail/subscription/fields_duplicate.stderr

12 lines
375 B
Text

error: GraphQL object must have a different name for each field
· note: https://spec.graphql.org/October2021#sec-Objects
--> fail/subscription/fields_duplicate.rs:11:6
|
11 | impl ObjA {
| ^^^^
error: cannot find attribute `graphql` in this scope
--> fail/subscription/fields_duplicate.rs:16:7
|
16 | #[graphql(name = "id")]
| ^^^^^^^