juniper/integration_tests/codegen_fail/fail/object/derive_fields_unique.stderr

9 lines
368 B
Text

error: GraphQL object does not allow fields with the same name
--> $DIR/derive_fields_unique.rs:4:5
|
4 | / #[graphql(name = "test")]
5 | | test2: String,
| |_________________^
|
= help: There is at least one other field with the same name `test`, possibly renamed via the #[graphql] attribute
= note: https://spec.graphql.org/June2018/#sec-Objects