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

13 lines
375 B
Text
Raw Normal View History

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")]
| ^^^^^^^